-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathfinal.css
More file actions
153 lines (139 loc) · 2.56 KB
/
final.css
File metadata and controls
153 lines (139 loc) · 2.56 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/* ----------------------------------------------------
Created by Christina Truong for Ladies Learning Code
http://ladieslearningcode.com
http://christinatruong.com
-------------------------------------------------------*/
/* 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 */
}
a:hover {
background: rgba(255, 255, 255, 0.3);
}
header,
main,
nav {
padding: 20px 30px;
}
main {
clear: both;
}
.highlight {
color: #bf6d50;
}
/* 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 0;
text-align: center;
}
blockquote p {
font-family: "Pacifico", cursive;
font-size: 30px;
}
/* CONTACT STYLES
-----------------------------------------*/
.contact {
background: url(../images/background-8.jpg) no-repeat 50%;
background-size: cover;
}
.contact main {
background: rgba(255, 255, 255, 0.7);
padding-top: 40px;
padding-bottom: 40px;
}
.contact main h1 {
text-transform: none;
}
/* form 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: rgba(255, 255, 255, 0.8);
text-align: center;
padding: 1px;
text-transform: lowercase;
}