Wobbly-Website/styles.php
2024-10-25 23:24:56 +02:00

262 lines
No EOL
5 KiB
PHP

<?php
header("Content-type: text/css");
include "set_background.php";
?>
html:not([data-scroll='0']) .topnav {
position: fixed;
}
* {
font-family: ubuntu, arial;
font-size: 16px;
text-color: white;
text-shadow: 0px 0px 32px rgb(0, 0, 0), 0px 0px 32px rgb(0, 0, 0), 0px 0px 32px rgb(0, 0, 0);
}
body {
background-color: #2e2e2e
}
p {
font-family: ubuntu, arial;
padding-left: 20px;
color: white;
font-size: 16px;
text-shadow: 4px 4px 8px rgb(0, 0, 0), -4px 4px 8px rgb(0, 0, 0), -4px -4px 8px rgb(0, 0, 0), 4px -4px 8px rgb(0, 0, 0);
}
a {
font-family: ubuntu, arial;
color: rgb(120, 120, 255);
text-decoration: none;
}
label {
font-family: ubuntu, arial;
font-size: 16px;
color: white;
text-shadow: 0px 0px 16px rgb(0, 0, 0), 0px 0px 16px rgb(0, 0, 0), 0px 0px 16px rgb(0, 0, 0);
}
.background {
background-image: url('<?= $chosen_background ?>');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
border-radius: 16px;
padding: 10px;
}
.text-background {
background-color: rgba(51, 51, 51, 0.2);
padding: 10px;
}
.topnav {
background-color: rgba(51, 51, 51, 0.863);
overflow: hidden;
width: 100%;
position: fixed;
top: 8px;
border-radius: 16px 0px;
}
.topnav-inactive {
font-family: ubuntu, arial;
float: left;
color: #f2f2f2;
text-align: center;
padding: 5px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav-inactive:hover {
background-color: #ddd;
color: black;
}
.topnav-active {
font-family: ubuntu, arial;
background-color: #04AA6D;
color: white;
float: left;
padding: 5px 16px;
text-decoration: none;
font-size: 17px;
}
.scriptsinactive:hover {
background-color: #ddd;
color: black;
}
.topnav-placeholder {
height: 20px;
}
.topnav-companion {
position: fixed;
top: 0px;
background-color: #2e2e2e;
height: 8px;
width: 100%;
}
.big-text {
font-family: ubuntu, arial;
color: white;
font-size: 26px;
}
.medium-text {
font-family: ubuntu, arial;
}
.tiny-text {
font-family: ubuntu, arial;
color: white;
font-size: 10px;
}
.center-text {
text-align: center;
}
.fat-text {
font-weight: bold;
}
.background-text {
background-color: rgba(51, 51, 51, 0.4);
}
.inactive-text {
color: rgb(255, 255, 255, 0.5);
text-decoration: line-through;
transition: color 0.5s, text-decoration 0.5s;
}
.inactive-text:hover {
color: white;
text-decoration: none;
}
.search-folder {
visibility: hidden;
}
.glass {
backdrop-filter: blur(8px);
border-radius: 16px;
margin: 32px 16px 64px;
}
.glassint {
backdrop-filter: blur(8px);
border-radius: 16px;
margin: 32px 16px 64px;
animation-name: glassdiff;
animation-duration: 0.3s;
}
.glassint:hover {
backdrop-filter: blur(2px);
border-radius: 16px;
animation-name: glassclear;
animation-duration: 0.3s;
}
@keyframes glassdiff {
0% {
backdrop-filter: blur(2px);
}
100% {
backdrop-filter: blur(8px);
}
}
@keyframes glassclear {
0% {
backdrop-filter: blur(8px);
}
100% {
backdrop-filter: blur(2px);
}
}
.inset {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2) inset,
-4px -4px 4px rgba(255, 255, 255, 0.2) inset;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.inout {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2) inset,
-4px -4px 4px rgba(255, 255, 255, 0.2) inset;
border: 1px solid rgba(255, 255, 255, 0.2);
animation-name: pushins;
animation-duration: 0.3s;
}
.inout:hover {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2),
-4px -4px 4px rgba(255, 255, 255, 0.2);
animation-name: pullins;
animation-duration: 0.3s;
}
@keyframes pushins {
0% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2),
-4px -4px 4px rgba(255, 255, 255, 0.2);
}
50% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0),
-4px -4px 4px rgba(255, 255, 255, 0);
}
51% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0) inset,
-4px -4px 4px rgba(255, 255, 255, 0) inset;
}
100% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2) inset,
-4px -4px 4px rgba(255, 255, 255, 0.2) inset;
}
}
@keyframes pullins {
0% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2) inset,
-4px -4px 4px rgba(255, 255, 255, 0.2) inset;
}
50% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0) inset,
-4px -4px 4px rgba(255, 255, 255, 0) inset;
}
51% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0),
-4px -4px 4px rgba(255, 255, 255, 0);
}
100% {
box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.2),
-4px -4px 4px rgba(255, 255, 255, 0.2);
}
}
.ascii-art {
color: white;
background-color: rgba(51, 51, 51, 0.2);
}
.button {
border: 2px solid rgba(255, 255, 255, 0.5);
border-radius: 16px;
margin: 0px 16px 16px 16px;
padding: 8px;
font-size: 16px;
text-align: center;
font-weight: bold;
}