-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathex7.css
More file actions
125 lines (114 loc) · 1.94 KB
/
ex7.css
File metadata and controls
125 lines (114 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* GLOBAL STYLES
-----------------------------------------*/
html,
body {
height: 100%;
}
body {
padding: 0;
margin: 0;
font-family: "Open Sans", sans-serif;
color: #333333; /* dark, almost black, gray colour */
}
h1,
h2 {
font-family: "Nixie One", serif;
font-weight: 300; /* removes default bold styles */
text-transform: uppercase;
margin: 0; /* removes default space */
}
a {
color: #bf6d50;
text-decoration: none; /* removes default underline */
}
header,
main,
nav {
padding: 20px 30px;
}
main {
clear: both;
}
/* HEADER STYLES
-----------------------------------------*/
header h1 {
font-size: 48px;
}
header h2 {
font-size: 24px;
}
header {
float: left;
}
nav {
float: right;
}
nav a {
padding: 20px;
}
/* HOME PAGE STYLES
-----------------------------------------*/
.home {
background: url(../images/background-6.jpg);
background-position: center center;
background-size: cover;
}
/* ABOUT STYLES
-----------------------------------------*/
.profile-img {
float: left;
margin-right: 20px;
width: 50%;
}
blockquote {
clear: both;
padding: 5px 150px;
text-align: center;
}
blockquote p {
font-family: "Pacifico", cursive;
font-size: 35px;
}
/* CONTACT STYLES
-----------------------------------------*/
form {
width: 400px;
}
input,
textarea {
border: 1px solid #BF6D50;
width: 400px;
margin-bottom: 10px;
}
input {
height: 20px;
}
textarea {
height: 100px;
}
button {
background: #BF6D50;
border: none;
padding: 10px 40px;
font-size: 16px;
}
/* FOOTER STYLES
-----------------------------------------*/
/* Sticky Footer - http://css-tricks.com/snippets/css/sticky-footer */
.page-wrap {
min-height: 100%;
margin-bottom: -55px; /* must be the same height as footer */
}
.page-wrap:after {
content: "";
display: block;
}
footer,
.page-wrap:after {
height: 55px; /* however tall you want the footer to be */
}
footer {
background: white;
text-align: center;
padding: 1px;
}