org-theme/scss/partials/_media.scss

58 lines
818 B
SCSS
Raw Permalink Normal View History

2020-12-02 19:56:30 +01:00
@media (max-width: 768px){
2020-11-25 23:22:07 +01:00
.tablet-hide{
display:none;
}
}
2020-12-02 19:56:30 +01:00
@media (max-width: 480px){
2020-11-25 23:22:07 +01:00
.mobile-hide{
display:none;
}
}
2020-12-02 19:56:30 +01:00
@media (max-width: 768px){
2020-11-25 23:22:07 +01:00
#content{
margin-left:0;
}
#content #content{
padding:1.618em;
}
#content.shift{
position:fixed;
min-width:100%;
left:85%;
top:0;
height:100%;
overflow:hidden;
}
}
2020-12-07 13:39:18 +01:00
// @media (min-width: 1400px){
// #content{
// background:rgba(0,0,0,0.05);
// }
// #content{
// background:#fcfcfc;
// }
// }
2020-11-25 23:22:07 +01:00
2020-12-02 19:56:30 +01:00
@media (max-width: 768px){
2020-11-25 23:22:07 +01:00
#copyright{
width:85%;
display:none;
}
#copyright.shift{
display:block;
}
}
2020-12-02 19:56:30 +01:00
@media (max-width: 480px){
2020-11-25 23:22:07 +01:00
#content .sidebar{
width:100%;
}
}