mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-09 17:18:33 +01:00
Initial
This commit is contained in:
BIN
static/defaultFavicon.ico
Normal file
BIN
static/defaultFavicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
static/pictures/placeholder.png
Normal file
BIN
static/pictures/placeholder.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
1
static/pictures/wallpaper.jpg
Symbolic link
1
static/pictures/wallpaper.jpg
Symbolic link
@@ -0,0 +1 @@
|
||||
placeholder.png
|
||||
70
static/site.css
Normal file
70
static/site.css
Normal 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
63
static/toggle_button.css
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user