-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfefe.css
92 lines (91 loc) · 1.77 KB
/
fefe.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
/**
* CSS for https://blog.fefe.de/
*
* @author https://github.com/admiralsmaster
* @url https://github.com/admiralsmaster/fefe-css
* @version 1.3.0
* @license MIT license http://opensource.org/licenses/MIT
*/
*, *:before, *:after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
color: #333;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
line-height: 1.42857;
padding: 1em;
font-size: 18px;
max-width: 50em;
margin: auto;
-webkit-hyphens: auto;
-epub-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
b, strong {
font-weight: 700;
}
h1, h2, h3 {
margin-bottom: 0.8em;
margin-top: 1.1em;
}
h1, h2, h3, h4, h5, h6 {
color: inherit;
font-family: inherit;
font-weight: 500;
line-height: 1.1;
}
h2 {
font-size: 3em;
}
h3 {
font-size: 1.5em;
}
ul {
list-style-type: none;
padding-left: 0;
}
ul ul {
list-style: disc;
}
ul > li {
margin: 1.5em 0 1em 0;
padding: 1em 0 2em;
border-bottom: 1px #000 dashed;
position: relative; /* for absolute position of permanent link */
}
ul ol li, ul ul li {
margin: 0.75em 0 0.75em 2em;
padding-left: 1em;
border-bottom: none; /* reset for cascade lists */
padding: 0; /* reset for cascade lists */
}
li {
text-align: justify;
}
blockquote, pre {
margin: 2em 0;
border-left: 0.3em rgba(0,0,0,0.1) solid;
border-right: 0.3em rgba(0,0,0,0.1) solid;
padding: 1em;
background-color: rgba(0,0,0,0.05);
}
p {
margin: 0.5em 0;
}
a {
text-decoration: underline;
color: #000;
}
a:hover, a:focus {
text-decoration: none;
}
body > ul > li > a:first-child { /* first link in list (is permanent link) */
bottom: 20px;
position: absolute;
right: 0;
font-size: 0.75em;
}