@@ -445,6 +445,78 @@ sup {
445445 padding : 0 5px 0 ;
446446}
447447
448+ @media (max-width : 767px ) {
449+ /* Show the button that opens the sidebar on mobile */
450+ # top-bar .open-menu a {
451+ position : fixed;
452+ top : .5em ;
453+ left : .5em ;
454+ z-index : 15 ;
455+ font-family : 'Nanum Gothic' , sans-serif;
456+ font-size : 30px ;
457+ font-weight : 700 ;
458+ width : 30px ;
459+ height : 30px ;
460+ line-height : .9em ;
461+ text-align : center;
462+ border : .2em solid # 888 ;
463+ background-color : # fff ;
464+ border-radius : 3em ;
465+ color : # 888 ;
466+ }
467+ # top-bar .open-menu a : hover {
468+ text-decoration : none;
469+ box-shadow : 0 0 20px 3px rgba (153 , 153 , 153 , 1 );
470+ }
471+
472+ # side-bar {
473+ display : block;
474+ position : fixed;
475+ top : 0 ;
476+ left : -25em ;
477+ width : 17em ;
478+ height : 100% ;
479+ background-color : rgb (184 , 134 , 134 );
480+ overflow-y : auto;
481+ z-index : 10 ;
482+ padding : 1em 1em 0 1em ;
483+ transition : left .5s ease-in-out .1s ;
484+ }
485+
486+ # side-bar ::after {
487+ content : '' ;
488+ position : absolute;
489+ top : 0 ;
490+ width : 0 ;
491+ height : 100% ;
492+ background-color : rgba (0 , 0 , 0 , .2 );
493+ }
494+
495+ # side-bar : target {
496+ display : block;
497+ left : 0 ;
498+ width : 17em ;
499+ margin : 0 ;
500+ border : 1px solid # dedede ;
501+ z-index : 10 ;
502+ }
503+
504+ # side-bar : target + # main-content {
505+ left : 0 ;
506+ }
507+
508+ # side-bar : target .close-menu {
509+ display : block;
510+ position : fixed;
511+ width : 100% ;
512+ height : 100% ;
513+ top : 0 ;
514+ left : 0 ;
515+ background : rgba (0 , 0 , 0 , .3 ) 1px 1px repeat;
516+ z-index : -1 ;
517+ }
518+ }
519+
448520/* CONTENT */
449521# main-content {
450522 margin : 0 2em 0 22em ;
@@ -1100,11 +1172,6 @@ img, embed, video, object, iframe, table {
11001172 max-width : 90% ;
11011173 }
11021174
1103- # side-bar {
1104- width : 80% ;
1105- position : relative;
1106- }
1107-
11081175 .top-bar {
11091176 display : none;
11101177 }
@@ -1206,11 +1273,6 @@ img, embed, video, object, iframe, table {
12061273 max-width : 90% ;
12071274 }
12081275
1209- # side-bar {
1210- width : 80% ;
1211- position : relative;
1212- }
1213-
12141276 .top-bar {
12151277 display : none;
12161278 }
@@ -1268,11 +1330,6 @@ img, embed, video, object, iframe, table {
12681330 width : 8em ;
12691331 }
12701332
1271- # side-bar {
1272- width : 80% ;
1273- position : relative;
1274- }
1275-
12761333 # main-content {
12771334 margin : 0 3em 0 2em ;
12781335 }
@@ -1401,33 +1458,6 @@ img, embed, video, object, iframe, table {
14011458 display : none;
14021459 }
14031460
1404- # top-bar .open-menu a {
1405- position : fixed;
1406- top : .5em ;
1407- left : .5em ;
1408- z-index : 15 ;
1409- font-family : 'Nanum Gothic' , sans-serif;
1410- font-size : 30px ;
1411- font-weight : 700 ;
1412- width : 30px ;
1413- height : 30px ;
1414- line-height : .9em ;
1415- text-align : center;
1416- border : .2em solid # 888 ;
1417- background-color : # fff ;
1418- border-radius : 3em ;
1419- color : # 888 ;
1420- }
1421-
1422- # top-bar .open-menu a : hover {
1423- text-decoration : none;
1424- -webkit-box-shadow : 0 0 20px 3px rgba (153 , 153 , 153 , 1 );
1425- -moz-box-shadow : 0 0 20px 3px rgba (153 , 153 , 153 , 1 );
1426- -ms-box-shadow : 0 0 20px 3px rgba (153 , 153 , 153 , 1 );
1427- -o-box-shadow : 0 0 20px 3px rgba (153 , 153 , 153 , 1 );
1428- box-shadow : 0 0 20px 3px rgba (153 , 153 , 153 , 1 );
1429- }
1430-
14311461 # main-content {
14321462 max-width : 90% ;
14331463 margin : 0 5% ;
@@ -1438,57 +1468,6 @@ img, embed, video, object, iframe, table {
14381468 -o-transition : .5s ease-in-out .1s ;
14391469 transition : .5s ease-in-out .1s ;
14401470 }
1441-
1442- # side-bar {
1443- display : block;
1444- position : fixed;
1445- top : 0 ;
1446- left : -25em ;
1447- width : 17em ;
1448- height : 100% ;
1449- background-color : rgb (184 , 134 , 134 );
1450- overflow-y : auto;
1451- z-index : 10 ;
1452- padding : 1em 1em 0 1em ;
1453- -webkit-transition : left .5s ease-in-out .1s ;
1454- -moz-transition : left .5s ease-in-out .1s ;
1455- -ms-transition : left .5s ease-in-out .1s ;
1456- -o-transition : left .5s ease-in-out .1s ;
1457- transition : left .5s ease-in-out .1s ;
1458- }
1459-
1460- # side-bar ::after {
1461- content : '' ;
1462- position : absolute;
1463- top : 0 ;
1464- width : 0 ;
1465- height : 100% ;
1466- background-color : rgba (0 , 0 , 0 , .2 );
1467- }
1468-
1469- # side-bar : target {
1470- display : block;
1471- left : 0 ;
1472- width : 17em ;
1473- margin : 0 ;
1474- border : 1px solid # dedede ;
1475- z-index : 10 ;
1476- }
1477-
1478- # side-bar : target + # main-content {
1479- left : 0 ;
1480- }
1481-
1482- # side-bar : target .close-menu {
1483- display : block;
1484- position : fixed;
1485- width : 100% ;
1486- height : 100% ;
1487- top : 0 ;
1488- left : 0 ;
1489- background : rgba (0 , 0 , 0 , .3 ) 1px 1px repeat;
1490- z-index : -1 ;
1491- }
14921471}
14931472
14941473div .scpnet-interwiki-wrapper {
0 commit comments