-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
133 lines (113 loc) · 1.91 KB
/
style.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
/* FONTS */
@font-face {
font-family: "Schoolbell";
src: url('./fonts/Schoolbell.ttf') format('truetype');
}
@font-face {
font-family: "Slackey";
src: url('./fonts/Slackey.ttf') format('truetype');
}
/* GENERAL */
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
font-family: 'Schoolbell', cursive !important;
font-size: 18px !important;
letter-spacing: 0.33px;
color: #444;
line-height: 1.5em;
padding: 1em;
margin: auto;
max-width: 42em;
background: #fefefe;
}
::-moz-selection {
background: rgba(255,255,0,0.3);
color: #000;
}
::selection {
background: rgba(255,255,0,0.3);
color: #000;
}
a::-moz-selection {
background: rgba(255,255,0,0.3);
color: #0645ad;
}
p {
margin: 1em 0;
}
h1 {
font-weight: normal;
color: #111;
line-height: 1em;
font-family: "Slackey", cursive !important;
font-size: 2.5em;
}
blockquote {
color: #666666;
margin: 0;
padding-left: 3em;
border-left: 0.5em #EEE solid;
}
strong {
font-weight: bold;
}
/* RESPONSIVE */
@media only screen and (min-width: 480px) {
body {
font-size: 14px;
}
}
@media only screen and (min-width: 768px) {
body {
font-size: 16px;
}
}
/* MENU */
nav {
position: fixed;
right: 0;
top: 20%;
width: 8em;
margin-top: -2.5em;
background-color: rgba(54, 54, 92, .17);
}
nav a {
text-decoration: none;
color: #36365c;
}
hr {
page-break-after: always;
color: rgba(255, 255, 255, 0);
border: none;
}
/* PRINT */
@media print {
* {
background: transparent !important;
color: black !important;
filter: none !important;
-ms-filter: none !important;
}
body {
max-width: 100%;
font-size: 14px !important;
}
p {
orphans: 3;
widows: 3;
}
nav {
display: none;
}
@page :left {
margin: 15mm 20mm 15mm 10mm;
}
@page :right {
margin: 15mm 10mm 15mm 20mm;
}
}