63 lines
1.3 KiB
CSS
63 lines
1.3 KiB
CSS
@media (max-height: 800px), (max-width: 1000px) {
|
|
#cryps {
|
|
font-size: 12pt;
|
|
grid-template-columns: min-content 1fr;
|
|
grid-template-rows: min-content 1fr;
|
|
grid-template-areas:
|
|
"tnav hd "
|
|
"main main";
|
|
}
|
|
|
|
table td {
|
|
height: 2.5em;
|
|
}
|
|
|
|
svg {
|
|
width: 5em;
|
|
}
|
|
|
|
|
|
nav {
|
|
opacity: 0;
|
|
position: fixed;
|
|
margin-top: 4em;
|
|
pointer-events: none;
|
|
-webkit-transition: all 0.5s ease-in-out;
|
|
-moz-transition: all 0.5s ease-in-out;
|
|
-o-transition: all 0.5s ease-in-out;
|
|
transition: all 0.5s ease-in-out;
|
|
|
|
}
|
|
main {
|
|
-webkit-transition: all 0.5s ease-in-out;
|
|
-moz-transition: all 0.5s ease-in-out;
|
|
-o-transition: all 0.5s ease-in-out;
|
|
transition: all 0.5s ease-in-out;
|
|
}
|
|
|
|
#toggle-nav { display: none; }
|
|
|
|
#toggle-nav-label {
|
|
grid-area: tnav;
|
|
color: whitesmoke;
|
|
line-height: 1.75em;
|
|
font-size: 1.5em;
|
|
display: block;
|
|
cursor: pointer;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
#toggle-nav:checked #toggle-nav-label {
|
|
color: #ababab;
|
|
}
|
|
|
|
#toggle-nav:checked ~ nav {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
#toggle-nav:checked ~ main {
|
|
opacity: 0.1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
} |