]>
Commit | Line | Data |
---|---|---|
1 | /* ========================================================================== | |
2 | Media queries | |
3 | ========================================================================== */ | |
4 | ||
5 | @media only screen and (min-width: 992px) { | |
6 | nav, | |
7 | body:not(.entry):not(.login) main, | |
8 | footer { | |
9 | padding-left: 240px; | |
10 | } | |
11 | ||
12 | .pagination { | |
13 | margin-left: auto; | |
14 | } | |
15 | } | |
16 | ||
17 | @media screen and (min-width: 993px) { | |
18 | body.entry main #content { | |
19 | padding-left: 70px; | |
20 | } | |
21 | } | |
22 | ||
23 | @media only screen and (max-width: 992px) { | |
24 | header, | |
25 | main, | |
26 | footer, | |
27 | nav { | |
28 | padding-left: 0; | |
29 | } | |
30 | ||
31 | table { | |
32 | display: block; | |
33 | overflow: auto; | |
34 | } | |
35 | ||
36 | iframe { | |
37 | max-width: 100%; | |
38 | height: auto; | |
39 | } | |
40 | ||
41 | .nav-panels .action { | |
42 | padding-right: 0.75rem; | |
43 | } | |
44 | ||
45 | .nav-panel-buttom { | |
46 | justify-content: space-between; | |
47 | } | |
48 | ||
49 | #article { | |
50 | max-width: 35em; | |
51 | margin-left: auto; | |
52 | margin-right: auto; | |
53 | font-size: 18px; | |
54 | ||
55 | > header > h1 { | |
56 | font-size: 1.33em; | |
57 | } | |
58 | } | |
59 | ||
60 | .reader-mode { | |
61 | width: 240px !important; | |
62 | ||
63 | span { | |
64 | opacity: 1; | |
65 | } | |
66 | } | |
67 | ||
68 | .tabs { | |
69 | display: inline-block; | |
70 | height: auto; | |
71 | } | |
72 | ||
73 | .tab { | |
74 | min-width: 100%; | |
75 | } | |
76 | ||
77 | .indicator { | |
78 | display: none; | |
79 | } | |
80 | ||
81 | .pagination li { | |
82 | margin-bottom: 0.5rem; | |
83 | ||
84 | &.prev, | |
85 | &.next { | |
86 | width: auto; | |
87 | } | |
88 | } | |
89 | ||
90 | .drag-target + .drag-target { | |
91 | height: 50%; | |
92 | } | |
93 | ||
94 | .drag-target + .drag-target + .drag-target { | |
95 | top: 50%; | |
96 | } | |
97 | } | |
98 | ||
99 | @media only screen and (min-width: 1200px) and (max-width: 1650px) { | |
100 | .row .col.l3 { | |
101 | width: 33.33333%; | |
102 | margin-left: 0; | |
103 | } | |
104 | } | |
105 | ||
106 | @media only screen and (min-width: 993px) and (max-width: 1200px) { | |
107 | .row { | |
108 | .col.l1 { | |
109 | width: 25%; | |
110 | margin-left: 0; | |
111 | } | |
112 | ||
113 | .col.l2 { | |
114 | width: 33.33333%; | |
115 | margin-left: 0; | |
116 | } | |
117 | ||
118 | .col.l3 { | |
119 | width: 41.66667%; | |
120 | margin-left: 0; | |
121 | } | |
122 | ||
123 | .col.l4 { | |
124 | width: 50%; | |
125 | margin-left: 0; | |
126 | } | |
127 | ||
128 | .col.l5 { | |
129 | width: 58.33333%; | |
130 | margin-left: 0; | |
131 | } | |
132 | ||
133 | .col.l6 { | |
134 | width: 66.66667%; | |
135 | margin-left: 0; | |
136 | } | |
137 | ||
138 | .col.l7 { | |
139 | width: 75%; | |
140 | margin-left: 0; | |
141 | } | |
142 | ||
143 | .col.l8 { | |
144 | width: 83.33333%; | |
145 | margin-left: 0; | |
146 | } | |
147 | ||
148 | .col.l9 { | |
149 | width: 91.66667%; | |
150 | margin-left: 0; | |
151 | } | |
152 | ||
153 | .col.l10 { | |
154 | width: 100%; | |
155 | margin-left: 0; | |
156 | } | |
157 | } | |
158 | } | |
159 | ||
160 | @media only screen and (max-width: 350px) { | |
161 | .nb-results { | |
162 | display: none; | |
163 | } | |
164 | ||
165 | main ul.row { | |
166 | padding: 0; | |
167 | } | |
168 | ||
169 | .row .col { | |
170 | padding: 0; | |
171 | } | |
172 | ||
173 | .card-stacked div.metadata .reading-time { | |
174 | display: none; | |
175 | } | |
176 | } | |
177 | ||
178 | @media screen and (max-width: 310px), | |
179 | screen and (min-width: 601px) and (max-width: 660px), | |
180 | screen and (min-width: 993px) and (max-width: 1050px), | |
181 | screen and (min-width: 1201px) and (max-width: 1250px) { | |
182 | .card .card-action .reading-time .card-created-at { | |
183 | display: none; | |
184 | } | |
185 | } | |
186 | ||
187 | @media only print { | |
188 | body { | |
189 | display: block; | |
190 | } | |
191 | } |