-
Notifications
You must be signed in to change notification settings - Fork 0
/
responsive.css
184 lines (147 loc) · 6.9 KB
/
responsive.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#wrapper { min-width: 320px; }
@media only screen and (min-width: 1680px) {
.sidebar .author-bio-name { margin-left: 40px; margin-right: 40px; }
.sidebar .author-bio-description { padding-left: 40px; padding-right: 40px; }
.sidebar .widget { padding: 20px 40px 10px; }
.sidebar .small-heading { padding-left: 40px; padding-right: 40px; }
.sidebar .related-posts { margin: 0 20px; }
.subheader,
.main-header-single { margin-left: 40px; margin-right: 40px; }
.main-header-single { margin-bottom: 40px; }
.sticky-heading,
.notebox,
.category-featured-cards,
.list-card { padding-left: 40px; padding-right: 40px; }
.main-header-single-meta { left: 40px; right: 40px; }
.category-featured-cards .featured-card-outer { margin-bottom: 40px; }
.category-featured-cards .featured-card-outer:nth-child(1) .featured-card { margin-right: 20px; }
.category-featured-cards .featured-card-outer:nth-child(2) .featured-card { margin-left: 20px; }
.slick-featured-alt { margin-top: 20px; }
}
@media only screen and (min-width: 768px) {
.right-sidebar.right-sidebar-sticky { overflow-x: hidden; overflow-y: auto; width: 100%; max-height: calc(100vh - 80px); top: 80px; position: sticky; }
.admin-bar .right-sidebar.right-sidebar-sticky { max-height: calc(100vh - 112px); top: 112px; }
}
@media only screen and (max-width: 1280px) {
.subgrid-container { grid-column-start: 1; grid-column-end: 17; }
.left-sidebar { order: 2; grid-column: span 16/span 16; border-right: 0; }
.left-sidebar-inner { height: auto!important; }
.left-sidebar-inner-pad { max-width: 420px; margin: 0 auto; }
}
@media only screen and (min-width: 920px) {
body.unstick-header .sticky-heading { top: 0; }
body.unstick-header.admin-bar .sticky-heading { top: 32px; }
}
@media only screen and (max-width: 920px) {
#header,
.admin-bar #header { position: relative; top: 0; }
.grid-container { padding-top: 0; }
.main-content { grid-column: span 13/span 13; }
.right-sidebar { grid-column: span 13/span 13; }
.right-sidebar-inner-pad { max-width: 420px; margin: 0 auto; }
.sticky-heading { top: 0; }
.admin-bar .sticky-heading { top: 32px; }
.main-header-single-title h1 { font-size: 36px; }
}
@media only screen and (max-width: 719px) {
body.featured-fade .slick-featured-inner { mask-image: none; }
.slick-posts-nav .slick-prev,
.slick-posts-nav .slick-next { margin-left: 0; margin-right: 0; }
.featured-card-content { padding: 20px; }
.list-card-title { font-size: 20px; }
.list-card-date { font-size: 14px; }
.main-header-single { margin: 0; aspect-ratio: 16/9; height: auto; }
.main-header-single:after { display: none; }
.main-header-single-grad { display: block; }
.main-header-single-title { bottom: 0; padding: 20px; }
.main-header-single-title h1 { font-size: 20px; margin-bottom: 10px; line-height: 1.2; }
.main-header-single-meta { height: auto; position: relative; left: 0; right: 0; }
.main-header-single-meta:after { display: none; }
.main-header-single-meta li { margin: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 0 20px; }
.main-header-single-meta li.single-meta-comment { position: absolute; right: 0; width: auto; border: 0; z-index: 12; }
.main-header-single-meta li.single-meta-author { margin-left: 0; }
.main-header-single-meta .single-meta-text { font-size: 12px; }
.main-header-single-meta .single-meta-comments { font-size: 16px; height: 30px; line-height: 30px; margin: 15px 0 15px 10px; }
.slick-featured-alt .alt-mobile-link { display: block; }
.slick-featured-alt .slick-slide > div > div { display: block!important; }
.slick-featured-alt .main-header-single-wrap { margin: 0 1px; }
.slick-featured-alt .sharrre-header,
.slick-featured-alt .main-header-single-meta { display: none; }
}
@media only screen and (max-width: 600px) {
.sticky-heading,
.admin-bar .sticky-heading { top: 0; }
}
@media only screen and (max-width: 719px) {
.grid { width: 100%; margin: 0 0 10px; }
.site-description { display: none; }
.entry-wrap { margin-top: 20px; }
.entry { font-size: 15px; padding: 0 20px; }
.entry h1 { font-size: 30px; letter-spacing: -0.7px; }
.entry h2 { font-size: 26px; letter-spacing: -0.5px; }
.entry h3 { font-size: 24px; letter-spacing: -0.3px; }
.entry h4 { font-size: 22px; letter-spacing: -0.3px; }
.entry h5 { font-size: 18px; }
.entry h6 { font-size: 16px; text-transform: uppercase; }
.entry-header .entry-title { font-size: 22px; }
/* header */
#header,
#header .pad { padding: 0; }
.site-title { padding: 4px 0; margin: 0; width: 100%; float: none; line-height: 50px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.site-title a { text-align: center; }
.subheader { margin: 0; padding: 0; }
.social-links .social-tooltip:hover:after,
.social-links .social-tooltip:hover:before { display: none; }
/* comments */
.comment-tabs { font-size: 14px; }
.commentlist li { font-size: 13px; }
.commentlist li ul li { padding-left: 10px; }
/* single */
.sharrre-header { margin: 0 0 -10px; }
.sharrre-footer .sharrre .share span { display: none; }
.post-nav li { width: 100%; }
.post-nav li a { min-height: 0; }
.post-nav li.previous { border-top: 1px solid rgba(255,255,255,0.12); }
.sidebar .post-nav li.previous { border-top: 0; }
.related-posts li { width: 50%; }
.related-posts li:nth-child(2) article { border-right-color: transparent; }
.related-posts li:nth-child(3) { display: none; }
.author-bio .bio-desc { font-size: 14px; }
/* home */
.slick-posts { padding-top: 0; padding-bottom: 0; }
.featured-card { margin: 20px 10px; }
.featured-card-category { font-size: 12px; }
.featured-card-title { font-size: 16px; }
body.category .featured-card-content { padding: 20px; }
body.category .category-featured-cards { padding-bottom: 20px; }
body.category .category-featured-cards .featured-card-outer { width: 100%; margin-bottom: 0; }
body.category .category-featured-cards .featured-card-outer:nth-child(1) .featured-card { margin-right: 0; }
body.category .category-featured-cards .featured-card-outer:nth-child(2) .featured-card { margin-left: 0; }
/* content */
.sticky-heading { line-height: 16px; }
.sticky-heading a { font-size: 62px; }
.sticky-heading-alt { font-size: 22px; }
}
@media only screen and (max-width: 600px) {
/* content */
.list-card-wrap { padding-left: 0; }
.list-card-left { position: static; margin-bottom: 20px; }
.list-card-image { width: 100%; }
.list-card-excerpt { font-size: 14px; }
}
@media only screen and (max-width: 479px) {
.site-title { font-size: 30px; }
#footer { padding-left: 20px; padding-right: 20px; }
/* blog */
.entry > .alignfull { margin-left: -20px; margin-right: -20px; }
.entry-header,
.entry-content,
.entry-footer { padding-right: 20px; padding-left: 20px; }
.comments-nav .next,
.comments-nav .prev { width: 100%; }
.related-title { font-size: 14px; }
.notebox { font-size: 13px; }
/* sharrre */
.sharrre-header .sharrre .share { font-size: 18px; }
.sharrre-footer .sharrre .count { display: none; }
}