octomode/static/main.css

101 lines
1.4 KiB
CSS
Raw Normal View History

@charset "utf-8";
body{
2022-01-12 21:27:06 +01:00
min-width: 900px;
}
2022-01-12 21:27:06 +01:00
/* GENERAL RULES */
/* main title element that says "in octomode" */
h1 em.octomode{
color: darkorchid;
}
/* navigation */
div#nav{
2022-01-12 21:27:06 +01:00
position: fixed;
width: calc(100% - 1em);
top: 0;
left: 0;
margin: 0;
padding: 0 0.5em;
}
2022-01-12 21:27:06 +01:00
div#nav h1{
position: absolute;
width: auto;
line-height: 0;
margin: 0.75em 15px;
float: left;
}
div#nav div#buttons{
margin: 0.5em 15px;
float: right;
}
div#nav span.info{
font-size: 16px;
line-height: 0;
vertical-align: middle;
cursor: pointer;
}
div#nav span.info:hover{
opacity: 0.75;
}
div#nav div.hidden{
position: absolute;
right: 1.5em;
margin-top: 8px;
}
2022-01-12 21:27:06 +01:00
div#nav input{
min-width: 300px;
}
/* click logic (CSS only) */
span#click_md {
cursor: pointer;
}
div#show_md{
display: none;
}
span#click_md:focus + div#show_md{
display: block;
}
span#click_css {
cursor: pointer;
}
div#show_css{
display: none;
}
span#click_css:focus + div#show_css{
display: block;
}
2022-01-12 21:27:06 +01:00
/* iframe rules */
iframe{
2022-01-12 21:27:06 +01:00
width: 100%;
height: 100%;
border: none;
}
/* main content area */
div#wrapper{
position: fixed;
top: 50px;
left: 25px;
width: calc(100vw - 25px - 25px);
height: calc(100vh - 50px - 25px);
}
2022-01-12 21:27:06 +01:00
/* start page */
body.start-page *{
font-family: serif;
font-size: 115%;
font-weight: bold;
}
2022-01-12 21:27:06 +01:00
/* Z-INDEX */
div#wrapper,
div.pagedjs_pages{
z-index: 1;
}
div#nav{
z-index: 11;
2022-10-02 11:39:33 +02:00
}