This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
156 lines (132 loc) · 2.92 KB
/
styles.css
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
150
151
152
153
154
155
156
@import url('https://fonts.googleapis.com/css?family=Cardo:400,400i,700|Oswald|Inconsolata');
html {
box-sizing: border-box;
margin: 0;
padding: 0;
}
*, *:before, *:after {
box-sizing: inherit;
}
a, a:active {
color: #3f2a14;
}
a:visited {
color: #654321;
}
body {
margin: 0;
padding: 0;
background-color: beige;
color: #654321;
font-family: Cardo, Serif;
}
code {
background: #e3d4b4;
}
p {
font-size: 18px;
padding-bottom: 1em;
}
pre.code {
border-left: .25em solid tan;
margin: 1em 2em;
}
pre code {
display: block;
margin-left: .25em;
padding: .5em;
}
#hero {
width: 100%;
background-color: #3f2a14;
background-image: url("catalog-darkened.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin: 0;
/* the aspect ratio of the hero image is (319 / 1280) = 0.24922 */
padding: 0 0 24.922% 0;
height: 0;
border-bottom: 1px solid tan;
}
#wordmark, #slogan {
color: beige;
}
#wordmark {
font-family: Oswald, Serif;
}
#slogan {
font-family: Cardo, Serif;
}
@media screen and (min-width: 1024px) {
#wordmark { font-size: 400%; }
#slogan { font-size: 150%; }
#herowords { padding-top: 10%; }
#herowords, main, footer {
padding-left: 165px;
padding-right: 165px;
}
}
@media screen and (min-width: 800px) and (max-width: 1024px) {
#wordmark { font-size: 300%; }
#slogan { font-size: 150%; }
#herowords { padding-top: 9%; }
#herowords, main, footer {
padding-left: 165px;
padding-right: 165px;
}
}
@media screen and (max-width: 800px) and (min-width: 500px) {
#wordmark { font-size: 300%; }
#slogan { display: none; }
#herowords { padding-top: 7%; }
#herowords, main, footer {
padding-left: 125px;
padding-right: 125px;
}
}
@media screen and (max-width: 500px) {
#wordmark { display: none; }
#slogan { display: none; }
#herowords { display: none; }
#herowords, main, footer {
padding-left: 75px;
padding-right: 75px;
}
}
#slogan::before {
content: "\219D\0000a0 "
}
main {
padding-top: 2em;
padding-bottom: 3em;
}
footer {
padding-bottom: 5em;
text-align: right;
font-size: 80%;
}
h1, h2, h3, h4, h5, h6 {
color: #3f2a14;
}
code {
font-family: Inconsolata, Consolas, Menlo Park, Monaco, Courier, monospace;
}
.unsplash {
background-color: #3f2a14;
text-decoration: none;
padding: 4px 6px;
font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', Helvetica, Ubuntu, Roboto, Noto, 'Segoe UI', Arial, sans-serif;
font-size: 80%;
font-weight: bold;
line-height: 1.2;
display: inline-block;
border-radius: 3px;
}
.unsplash, .unsplash:visited, .unsplash:active, .unsplash:hover {
color: beige;
}
.note {
font-weight: 700;
color: #78b752;
}