haiku/docs/welcome/Haiku-tour.css

127 lines
1.6 KiB
CSS
Raw Normal View History

/*
* Copyright 2019, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
* Augustin Cavalier <waddlesplash>
*/
body {
position: fixed;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
body > div {
flex: 0 0 auto;
}
body #content {
flex: 1 1 auto;
overflow: auto;
}
/* Some headers act as anchors, don't give them a hover effect */
h1 a:hover, a:active {
text-decoration: none;
color: #0c3762;
}
.navdots a {
font-weight: normal;
text-decoration: none;
}
.navdots a:hover, a:active {
color: #dc3c01;
}
.navdots a {
color: white;
}
.navdots acronym, .navdots a {
text-decoration: none;
}
acronym.current-page {
color: #892601;
}
div.nav {
z-index: 1;
}
div.topic {
position: relative;
margin-bottom: 5vh;
clear: both;
}
table.index.further {
width: 25%;
font-size: 90%;
}
table.index.further tr.index td {
text-align: center;
}
#index {
position: relative;
z-index: 10;
}
ul.lang-menu {
overflow-x: hidden;
overflow-y: auto;
max-height: calc(100vh - 84px);
padding-bottom: 2px;
}
.hide-no-js {
display: none;
}
#bottom-nav {
text-align: center;
font-size: 150%;
background: #e0e0e0;
color: white;
}
.navbutton {
display: inline-block;
padding: 5px 1em;
background: silver;
}
.navbutton:hover {
text-decoration: none;
}
/* Slides */
body.slides #content div.topic {
display: none;
}
body.slides #content div.topic.current-page {
display: block;
margin-top: 0;
margin-bottom: 0;
}
.slide-only {
display: none;
}
body.slides .slide-only {
display: initial;
}