File tree Expand file tree Collapse file tree 4 files changed +39
-42
lines changed
Expand file tree Collapse file tree 4 files changed +39
-42
lines changed Original file line number Diff line number Diff line change 11# main links
22main :
3- - title : " Peer Review & Packages "
3+ - title : " Peer Review"
44 url :
55 sub-nav :
66 - title : " About peer review"
Original file line number Diff line number Diff line change 99/* Variables */
1010@import " minimal-mistakes/variables" ;
1111
12+ /* Pyos specific */
13+ @import " minimal-mistakes/pyos-main" ;
14+ @import " minimal-mistakes/pyos-isotope" ;
15+ @import " minimal-mistakes/pyos-dropdown" ;
16+ @import " minimal-mistakes/pyos-twitter" ;
17+ @import " minimal-mistakes/pyos-grid" ;
18+
1219/* Mixins and functions */
1320@import " minimal-mistakes/vendor/breakpoint/breakpoint" ;
1421@include breakpoint-set (" to ems" , true);
4047@import " minimal-mistakes/archive" ;
4148@import " minimal-mistakes/sidebar" ;
4249@import " minimal-mistakes/print" ;
43-
44- /* Pyos specific */
45- @import " minimal-mistakes/pyos-main" ;
46- @import " minimal-mistakes/pyos-isotope" ;
47- @import " minimal-mistakes/pyos-dropdown" ;
48- @import " minimal-mistakes/pyos-twitter" ;
49- @import " minimal-mistakes/pyos-grid" ;
Original file line number Diff line number Diff line change @@ -320,3 +320,34 @@ drop shadow
320320 background-color : #04AA6D ;
321321 color : white ;
322322}
323+
324+ @media screen and (max-width : 768px ) {
325+
326+ /* Hide horizontal drop down links at 48em / 768px */
327+ .nav__links { display : none ;}
328+
329+ /* Nav links goes vertical in responsive mode */
330+ .nav__links .vertical {
331+ position : absolute ;
332+ display : flex ;
333+ flex-direction : column ;
334+ align-items : flex-start ;
335+ }
336+
337+ .hamburger__btn-toggle {
338+ display : block ;
339+ position : absolute ;
340+ top : 5% ;
341+ right : 5% ;}
342+
343+ .burger__icon , burger __icon ::before , burger __icon ::after {
344+ display : block ; }
345+
346+ /* TODO: search isn't working now position search toggle by burger */
347+ .search__toggle {
348+ position : fixed ;
349+ right : 8% ;
350+ font-size : 1.4em ;
351+ top : 5% ;
352+ }
353+ }
Original file line number Diff line number Diff line change @@ -137,9 +137,6 @@ h2.clearall {
137137 max-width : 66.66667% ;
138138}
139139
140-
141-
142- /* 768 px */
143140@media screen and (max-width : 768px ) {
144141
145142 .element-item {
@@ -165,42 +162,11 @@ h2.clearall {
165162 font-size : 1.1em
166163 }
167164
168- .hamburger__btn-toggle {
169- // position: fixed; // not sure if this will help?
170- display : block ;
171- position : absolute ;
172- top : 5% ;
173- right : 5% ;}
174-
175- burger __icon , burger __icon ::before , burger __icon ::after {
176- display : block ; }
177-
178- /* Hide horizontal drop down links at 48em / 768px */
179- .nav__links { display : none ;}
180-
181- /* Nav links goes vertical in responsive mode */
182- .nav__links .vertical {
183- position : absolute ;
184- display : flex ;
185- flex-direction : column ;
186- align-items : flex-start ;
187- }
188- /* position search toggle by burger */
189- .search__toggle {
190- position : fixed ;
191- right : 8% ;
192- font-size : 1.4em ;
193- top : 5% ;
194- }
195-
196165 .feature__item--center .archive__item-body , .archive__item-body {
197166 width : 100% !important ;
198167 padding : 0 !important ;
199168 }
200169
201- // .page__content p {
202- // // font-size:1.2em!important;
203- // }
204170 .wide #main {
205171 padding-left : 2em ;
206172 }
You can’t perform that action at this time.
0 commit comments