-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·156 lines (139 loc) · 2.82 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/*
Theme Name: Twenty Eleven Stairball
Theme URI: https://git.sr.ht/~skyfaller/twentyeleven-stairball
Description: Child theme of Twenty Eleven for Stairball.club
Author: Nelson Chu Pavlosky
Author URI: https://www.skyfaller.space
Template: twentyeleven
Version: 0.0.1
*/
/* The import rule must come first */
@import url("../twentyeleven/style.css");
@font-face {
font-family: 'Chunk';
src: local(''),
url('./fonts/ChunkFive.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('./fonts/ChunkFive.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
.pink {
color: #E77B95;
-webkit-text-stroke: 1.5px #111;
}
body,
input,
textarea {
font-weight: normal;
}
/* Header */
#branding img {
margin-top: 2em;
margin-bottom: -3rem;
width: 100%;
}
#site-title a {
font-family:Chunk,"FiraGO Heavy","Fira Sans Heavy","Inter Black","Noto Sans Blk",system-ui,sans-serif;
font-size: 3.5em;
font-weight: normal;
position: absolute;
top: 1em;
}
#site-description {
font-size: 1.1em;
position: absolute;
top: 6em;
}
/* Fix logo in mobile site */
@media screen and (max-width: 34em) {
#branding img {
margin-bottom:-5em;
}
#site-title a {
top: 3vw;
font-size: 2.5em;
}
#site-description {
margin-bottom: 3vmin;
position: static;
}
}
/* Content */
#main,
#secondary {
padding-top: 1.5vmin;
}
/* Singular content styles for Posts and Pages */
.singular.page #main {
padding-top: .5vmin;
}
.singular .entry-title {
line-height: 1.33;
padding-top: 0;
}
/* keep edit button aligned with headline */
.singular .entry-meta .edit-link a {
top: 65px;
}
@media (max-width: 800px) {
.singular .entry-meta .edit-link a {
top: 27px;
}
}
.entry-title {
line-height: 1.45;
padding: 1vmin 0 1vmin;
}
/* Keep comments bubble from clashing with headlines */
.entry-header .comments-link a {
position: unset;
float: right;
margin-top: -2em;
}
.entry-content h3,
.comment-content h3 {
line-height: 1.5;
font-size: 1.1em;
font-weight: bold;
}
/* fix misaligned buttons on comment form */
#respond label {
top: unset !important;
}
/* Singular content styles for Posts and Pages */
.singular .hentry {
padding: unset;
}
/* Stop images from looking squished on mobile */
img,
iframe {
height: auto;
max-height: 100%;
max-width: 100%;
width: auto;
}
/* Numbering for nested rule lists */
.rule-list ol {
counter-reset: rules;
}
.rule-list li {
counter-increment: rules;
font-weight: bold;
}
.rule-list li li {
font-weight: initial;
}
.rule-list li::marker {
content: counters(rules, '.') '. ';
font-weight: bold;
}
/* Don't apply to Webkit which doesn't support ::marker content */
@supports (-webkit-hyphens: auto) {
.rule-list li {
list-style: none;
}
.rule-list li::before {
content: counters(rules, '.') '. ';
color: #E77B95;
font-weight: bold;
margin-left: -2em;
}
}