This commit is contained in:
2020-07-09 11:26:30 +02:00
commit 1f9bbbd2ca
28 changed files with 992 additions and 0 deletions

BIN
static/defaultFavicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1 @@
placeholder.png

70
static/site.css Normal file
View File

@@ -0,0 +1,70 @@
html {
height: 100vh;
}
.masthead {
height: 50vh;
min-height: 250px;
background-image: url('/static/pictures/wallpaper.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.bg-special{
background-color: #eae9e9;
}
.text-color-special{
color: #eae9e9;
}
.stretched-link::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
pointer-events: auto;
content: "";
background-color: rgba(0,0,0,0);
}
.hover-to-75:hover *{
opacity: 0.75;
display: unset;
}
.position-relative{
position: relative;
}
.centered-text-in-image{
position: absolute;
color: black !important;
font-weight: bold;
font-size: x-large;
top: 50%;
text-decoration: none !important;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
}
.centered-text-in-image:hover{
display: none;
opacity: 1 !important;
}
.image-min-dimensions{
min-width: 330px;
/*min-height: 220px; */
}
.text-min-dimensions{
min-width: 300px;
}
.image-max-dimensions{
max-width: 400px;
}

63
static/toggle_button.css Normal file
View File

@@ -0,0 +1,63 @@
.switch {
position: relative;
float: left;
width: 60px;
height: 34px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
.switch-caption {
float: left;
}