forked from simonlc/Markdown-CSS
-
Notifications
You must be signed in to change notification settings - Fork 432
/
foghorn.css
156 lines (142 loc) · 2.2 KB
/
foghorn.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
@import url(http://fonts.googleapis.com/css?family=Vollkorn:400,400italic,700,700italic&subset=latin);
img {
max-width: 100%;
}
table {
width: 100%;
}
table, th, td {
padding: 5px;
}
html, body {
padding:1em;
margin:auto;
max-width:42em;
background:#fefefe;
}
body {
font: 1.3em "Vollkorn", Palatino, Times;
color: #333;
line-height: 1.4;
text-align: justify;
}
header, nav, article, footer {
width: 700px;
margin:0 auto;
}
article {
margin-top: 4em;
margin-bottom: 4em;
min-height: 400px;
}
footer {
margin-bottom:50px;
}
video {
margin: 2em 0;
border:1px solid #ddd;
}
nav {
font-size: .9em;
font-style: italic;
border-bottom: 1px solid #ddd;
padding: 1em 0;
}
nav p {
margin: 0;
}
/* Typography
-------------------------------------------------------- */
h1 {
margin-top: 0;
font-weight: normal;
}
h2 {
font-weight: normal;
}
h3 {
font-weight: normal;
font-style: italic;
margin-top:3em;
}
p {
margin-top:0;
-webkit-hypens:auto;
-moz-hypens:auto;
hyphens:auto;
}
ul {
list-style: square;
padding-left:1.2em;
}
ol {
padding-left:1.2em;
}
blockquote {
margin-left: 1em;
padding-left: 1em;
border-left: 1px solid #ddd;
}
code {
font-family: "Consolas", "Menlo", "Monaco", monospace, serif;
font-size: .9em;
background: white;
}
a {
color: #2484c1;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a img {
border:none;
}
h1 a, h1 a:hover {
color: #333;
text-decoration: none;
}
hr {
color : #ddd;
height : 1px;
margin: 2em 0;
border-top : solid 1px #ddd;
border-bottom : none;
border-left: 0;
border-right: 0;
}
p#heart{
font-size: 2em;
line-height: 1;
text-align: center;
color: #ccc;
}
.red {
color:#B50000;
}
/* Home Page
--------------------------- */
body#index li {
margin-bottom: 1em;
}
/* iPad
-------------------------------------------------------- */
@media only screen and (max-device-width: 1024px) {
body {
font-size: 120%;
line-height: 1.4;
}
} /* @iPad */
/* iPhone
-------------------------------------------------------- */
@media only screen and (max-device-width: 480px) {
body {
text-align: left;
}
article, footer {
width: auto;
}
article {
padding: 0 10px;
}
} /* @iPhone */