org-theme/scss/partials/_nagivation.scss

24 lines
505 B
SCSS
Raw Normal View History

2020-11-25 23:22:07 +01:00
#org-div-home-and-up {
2020-11-26 19:48:18 +01:00
position: absolute;
right: 0;
2020-12-02 12:04:03 +01:00
z-index: 100;
2020-11-26 19:48:18 +01:00
padding: 10px;
2020-11-25 23:22:07 +01:00
2020-11-26 19:48:18 +01:00
// Large Screens
@media all and (min-width: $content-max-width+$toc-width) {
right: auto;
2020-11-26 19:49:08 +01:00
width: $content-max-width+$toc-width;
2020-11-26 19:48:18 +01:00
text-align: right;
2020-11-25 23:22:07 +01:00
}
2020-12-02 12:04:03 +01:00
// Small screens
@media screen and (max-width: 768px) {
position: fixed;
padding: 1em;
color: $color-primary-background;
a {
color: $color-text-invert;
}
}
2020-11-25 23:22:07 +01:00
}