hp-library/static/css/main.css

435 lines
6.5 KiB
CSS
Raw Normal View History

2020-10-26 02:13:24 +01:00
@font-face {
font-family: "ApfelGrotezk";
src: url("fonts/ApfelGrotezk-Regular.woff") format("woff"),
url("fonts/ApfelGrotezk-Regular.woff2") format("woff2");
2020-10-26 02:13:24 +01:00
}
@font-face {
font-family: "Coconat";
src: url("fonts/Coconat-Regular.woff") format("woff"),
url("fonts/Coconat-Regular.woff2") format("woff2");
}
* {
box-sizing: border-box;
font-family: 'ApfelGrotezk', sans-serif;
2020-10-26 02:13:24 +01:00
}
*::selection {
background: #8143b9;
/* color: #1c1c1c; */
2020-10-26 02:13:24 +01:00
}
*::-moz-selection {
2020-10-27 14:31:05 +01:00
background: #f0f0f0;
color: #1c1c1c;
2019-11-22 18:57:35 +01:00
}
body{
margin: 0;
height: 100vh;
}
2020-09-22 15:27:26 +02:00
a {
text-decoration: none;
color: #1c1c1c;
2020-09-22 15:27:26 +02:00
}
2019-11-22 18:57:35 +01:00
sup#fn54, sup#fn38, sup#fn66 {
word-break: break-word;
}
sup a {
color: white;
}
2020-09-22 15:54:27 +02:00
.main {
background: #a99f8a;
2020-09-22 15:54:27 +02:00
}
2020-10-15 22:07:22 +02:00
/*padding to be moved to the sub stuff */
2019-11-22 18:57:35 +01:00
.main-column-left {
2020-10-15 22:07:22 +02:00
/*padding: 1.7em 0em;*/
2019-11-22 18:57:35 +01:00
float: left;
width: 50%;
2020-09-22 11:56:56 +02:00
background: #ea4f2b;
2020-10-15 22:07:22 +02:00
/*overflow-y: scroll;*/
2019-11-22 18:57:35 +01:00
height: 100vh;
}
.main-column-right {
2020-10-18 18:32:16 +02:00
/* padding: 2em 1em; */
2019-11-22 18:57:35 +01:00
float: right;
width: 50%;
2020-09-22 11:56:56 +02:00
background: #8048b7;
2019-11-22 18:57:35 +01:00
overflow-y: scroll;
height: 100vh;
/* clip-path: ellipse(50% 70% at center center); */
/* -webkit-clip-path: ellipse(49% 70% at center center); */
2020-09-22 15:54:27 +02:00
}
2019-11-22 18:57:35 +01:00
.main:after {
content: "";
display: table;
clear: both;
}
2019-11-26 13:22:14 +01:00
div.nav-bottom ul, div.nav-top ul {
2019-11-22 18:57:35 +01:00
list-style-type: none;
2019-11-26 13:22:14 +01:00
margin: 0;
padding: 0;
}
2020-05-08 02:36:23 +02:00
ul {
list-style: none;
2020-10-18 18:32:16 +02:00
padding: 0;
2020-05-08 02:36:23 +02:00
}
ul.name-elements li {
2020-10-18 18:32:16 +02:00
width: 70%;
margin: 0 auto;
padding: 5% 0;
2020-05-08 02:36:23 +02:00
}
2020-09-16 00:27:18 +02:00
li span.nav-button {
2019-11-26 13:22:14 +01:00
display: block;
2019-11-22 18:57:35 +01:00
text-decoration: none;
2019-11-26 13:22:14 +01:00
padding: 0.25em;
font-family: sans-serif;
2019-11-26 13:22:14 +01:00
float: left;
width: 33.33%;
2019-11-22 18:57:35 +01:00
}
2020-09-22 11:56:56 +02:00
li span.nav-button:hover {
color: #8048b7;
2020-09-22 11:56:56 +02:00
}
2019-11-22 18:57:35 +01:00
.nav-top {
2020-09-21 17:51:16 +02:00
height: 24px;
2020-10-27 14:31:05 +01:00
background: #f0f0f0;
2019-11-22 18:57:35 +01:00
width: 100%;
position: fixed;
2020-09-22 11:56:56 +02:00
cursor: pointer;
2020-09-22 15:27:26 +02:00
z-index: 1;
2019-11-22 18:57:35 +01:00
}
.nav-bottom{
2020-09-21 17:51:16 +02:00
height: 24px;
2020-10-27 14:31:05 +01:00
background: #f0f0f0;
2019-11-22 18:57:35 +01:00
width: 100%;
bottom: 0;
position: fixed;
z-index: 10000;
2020-09-22 11:56:56 +02:00
cursor: pointer;
2020-09-22 15:27:26 +02:00
z-index: 1;
2019-11-22 18:57:35 +01:00
}
span.librarian-names, span.file-names {
2019-11-26 13:22:14 +01:00
text-decoration: none;
padding: 0.3em;
color: #1c1c1c;
font-family: 'ApfelGrotezk', sans-serif;
2019-11-26 13:22:14 +01:00
}
span.librarian-names:hover, span.file-names:hover {
color: #8048b7;
2019-11-27 19:02:41 +01:00
cursor: pointer;
2019-11-26 13:22:14 +01:00
}
2020-10-15 22:07:22 +02:00
/**********************************/
/* container for names and files */
/********************************/
#nav-container {
/*width: 50%;*/
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 25% 75%;
grid-column-gap: 0px;
grid-row-gap: 0px;
height: inherit;
}
/***********************/
/* Block list of names*/
/*********************/
2019-11-27 13:39:37 +01:00
#listofpeople{
/*border-bottom: #1c1c1c 1px solid;*/
2020-10-15 22:07:22 +02:00
padding: 1.7em 0em;
overflow-y: scroll;
2020-09-21 17:51:16 +02:00
/* border: lime 1px solid; */
2020-10-15 22:07:22 +02:00
/*position: fixed;*/
/*width: 50%;*/
/*padding: 0em;*/
/*top: 25px;*/
/*left: 0;*/
/*z-index: 1;*/
}
/***********************/
/* Block list of files*/
/*********************/
#listoffiles{
overflow: hidden;
2019-11-27 13:39:37 +01:00
}
2019-11-26 13:22:14 +01:00
.file-names-container {
2020-10-15 22:07:22 +02:00
/*overflow: scroll;*/
/*IE 9 */
-ms-transform: rotate(-90deg) translate(-78%, 0%);
/*Safari */
-webkit-transform: rotate(-90deg) translate(-78%, 0%);
/*Standard syntax */
2019-11-27 13:39:37 +01:00
transform: rotate(-90deg) translate(-0%, 0%);
2019-11-26 13:22:14 +01:00
transform-origin: top left;
2020-10-15 22:07:22 +02:00
/*border:blue 1px solid; */
2019-12-22 20:36:29 +01:00
height: 50vw;
2020-10-15 22:07:22 +02:00
width: 34vw;
2019-12-22 20:36:29 +01:00
overflow-y: scroll;
overflow-x: hidden;
position: absolute;
left: 0%;
top: calc(100% - 1.5em);
}
2019-11-22 18:57:35 +01:00
2020-10-15 22:07:22 +02:00
/**************/
/* SCROLLBARS*/
2020-10-15 22:07:22 +02:00
/*************/
/* The emerging W3C standard
that is currently Firefox-only */
* {
scrollbar-width: thin;
scrollbar-color: #8048b7 #ea4f2b;
}
/* Works on Chrome/Edge/Safari */
2020-10-26 02:13:24 +01:00
*::-webkit-scrollbar {
2020-10-15 22:07:22 +02:00
width: 12px;
}
*::-webkit-scrollbar-track {
background: #ea4f2b;
}
*::-webkit-scrollbar-thumb {
background-color: #1c1c1c;
2020-10-15 22:07:22 +02:00
border-radius: 20px;
border: 3px solid #ea4f2b;
2020-10-26 02:13:24 +01:00
}
2020-10-15 22:07:22 +02:00
2019-12-22 20:36:29 +01:00
img.listed-images {
2020-05-08 02:36:23 +02:00
width: 100%;
}
video.listed-videos {
width: 100%;
}
audio.listed-audio {
width: 100%;
}
2020-09-21 17:51:16 +02:00
object.listed-pdf {
2020-05-08 02:36:23 +02:00
width: 100%;
height: 70vh;
2019-11-22 18:57:35 +01:00
}
.methodclicked {
color: #8048b7 !important;
}
.clicked {
color: #8048b7 !important;
}
2020-09-21 17:51:16 +02:00
2020-09-22 15:27:26 +02:00
button {
border-radius: 0;
border: 0;
padding: 0;
z-index: 2;
}
2020-10-18 19:03:08 +02:00
button:hover {
2020-10-26 02:13:24 +01:00
cursor: pointer;
2020-10-18 19:03:08 +02:00
}
button:focus {
outline: none;
}
2020-09-21 17:51:16 +02:00
button#listoffiles {
position: fixed;
2020-09-22 15:27:26 +02:00
left: 46.3%;
top: 49%;
2020-09-21 17:51:16 +02:00
transform: rotate(90deg);
2020-09-22 15:27:26 +02:00
width: 6.4%;
background: #8048b7;
2020-09-21 17:51:16 +02:00
}
button#listoffiles:hover {
2020-10-27 14:31:05 +01:00
background: #f0f0f0 !important;
}
2020-10-26 02:13:24 +01:00
/* button#about {
2020-09-21 17:51:16 +02:00
position: fixed;
2020-09-22 15:27:26 +02:00
left: 47.25%;
top: 49%;
2020-09-21 17:51:16 +02:00
width: 6.4%;
transform: rotate(270deg);
2020-09-22 15:27:26 +02:00
background: #ea4f2b;
}
button#about:hover {
2020-10-27 14:31:05 +01:00
background: #f0f0f0 !important;
cursor: pointer;
2020-10-26 02:13:24 +01:00
} */
button#about {
position: fixed;
left: 47.8%;
top: 45.5%;
background: #f0f0f0;
2020-10-26 02:13:24 +01:00
border-radius: 100%;
padding: 2em 0.9em;
2020-10-26 02:13:24 +01:00
z-index: 3;
}
button#about:hover {
background: #ea4f2b;
cursor: pointer;
}
2020-09-22 15:27:26 +02:00
button#reset {
position: fixed;
left: 47.85%;
top: 35%;
2020-09-22 15:27:26 +02:00
border-radius: 100%;
padding: 2em 1em;
2020-09-21 17:51:16 +02:00
}
button#reset:hover {
background: #ea4f2b !important;
cursor: pointer;
}
button#showall {
position: fixed;
left: 47.85%;
bottom: 34.7%;
border-radius: 100%;
padding: 2.05em 0.4em;
}
button#showall:hover {
background: #ea4f2b !important;
cursor: pointer;
}
2020-10-14 17:06:36 +02:00
button.download {
padding: 0.7em 0.7em;
border-radius: 5px 21px 5px 21px;
}
button.download:hover {
background: #ea4f2b;
}
#intro p, #howto p, #insert p {
line-height: 1.5em;
}
#intro, #howto, #insert {
border-radius: 10px 50px 50px 10px;
overflow-y: scroll;
position: fixed;
2020-10-14 17:06:36 +02:00
display: none;
padding: 1em 2em 1em 1em;
}
#insert {
2020-10-18 18:32:16 +02:00
left: 20%;
top: 5%;
2020-10-27 14:31:05 +01:00
background: #f0f0f0;
2020-10-18 18:32:16 +02:00
width: 30%;
height: 90%;
2020-10-14 17:06:36 +02:00
z-index: 1;
}
2020-10-18 18:32:16 +02:00
#intro {
left: 21%;
2020-10-18 18:32:16 +02:00
top: 10%;
2020-10-27 14:31:05 +01:00
background: #8048b7;
/* color: white; */
width: 29%;
2020-10-18 18:32:16 +02:00
height: 80%;
z-index: 1;
2020-10-14 17:06:36 +02:00
}
#howto {
left: 22%;
2020-10-18 18:32:16 +02:00
top: 15%;
2020-10-27 14:31:05 +01:00
background: #f0f0f0;
width: 28%;
2020-10-18 18:32:16 +02:00
height: 70%;
2020-10-14 17:06:36 +02:00
z-index: 2;
}
2020-10-18 18:32:16 +02:00
#howto audio {
width: 100%;
}
2020-10-18 18:32:16 +02:00
#closeintro, #closehowto, #closeinsert {
float: right;
cursor: pointer;
position: fixed;
color: #1c1c1c;
font-weight: bold;
/* background: #1c1c1c; */
/* padding: 0 0.2em 0.3em 0.2em; */
/* border-radius: 5px 25px 5px 25px; */
}
2020-10-27 14:31:05 +01:00
#closehowto:hover, #closeinsert:hover {
color: #8048b7;
}
#closeintro:hover {
color: #f0f0f0;;
}
div#closehowto {
margin-left: 21.3em;
/* color: #8143b9; */
}
div#closeintro {
margin-left: 22.2em;
2020-10-27 14:31:05 +01:00
/* color: #f0f0f0; */
/* color: #ec4e1e; */
}
div#closeinsert {
margin-left: 23.1em;
/* color: #8143b9; */
}
span.method-label {
text-transform: capitalize;
}
hr {
border-style: ridge;
2020-10-27 14:31:05 +01:00
color: #f0f0f0;
width: 50%;
2020-10-18 18:32:16 +02:00
}