forked from jjulian/bmoreonrails
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
77 lines (65 loc) · 1.1 KB
/
style.css
File metadata and controls
77 lines (65 loc) · 1.1 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
/* Modern CSS Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Page Layout */
#pageContainer {
max-width: 840px;
min-height: 100vh;
background: #fff url(images/logo300.png) no-repeat 0 20px;
margin: 0 auto;
padding: 0 20px;
display: flex;
flex-direction: column;
}
/* Typography */
h1, h2, h3 {
margin: 10px 0 5px 0;
}
p {
margin-bottom: 20px;
}
.headline {
font-size: clamp(24px, 4vw, 36px);
margin-bottom: 5px;
padding-left: clamp(20px, 30vw, 340px);
}
h1.headline {
color: #a02529;
padding-top: 20px;
}
h2.headline {
color: #333;
}
/* Footer */
#footer {
margin-top: auto;
padding: 40px 0 20px 0;
font-weight: normal;
}
#footer hr {
border: none;
border-top: 2px solid #333;
margin-bottom: 10px;
}
#footer p {
text-align: center;
padding: 5px 0 15px 0;
}
/* Responsive Design */
@media (max-width: 768px) {
#pageContainer {
background-position: center 10px;
background-size: 200px auto;
}
.headline {
padding-left: 20px;
text-align: center;
margin-top: 80px;
}
h1.headline {
margin-top: 100px;
}
}