Wobbly-Website/styles.php

274 lines
5.3 KiB
PHP
Raw Normal View History

2024-10-05 16:39:36 +02:00
<?php
header("Content-type: text/css");
include "set_background.php";
?>
html:not([data-scroll='0']) .topnav {
position: fixed;
}
2024-10-25 18:03:01 +02:00
* {
font-family: ubuntu, arial;
font-size: 16px;
text-color: white;
2024-10-25 23:32:11 +02:00
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);
2024-10-25 18:03:01 +02:00
}
body {
background-color: #2e2e2e
}
2024-10-05 16:39:36 +02:00
p {
font-family: ubuntu, arial;
padding-left: 20px;
color: white;
font-size: 16px;
2024-10-25 23:24:56 +02:00
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);
2024-10-05 16:39:36 +02:00
}
a {
font-family: ubuntu, arial;
2024-10-25 23:24:56 +02:00
color: rgb(120, 120, 255);
2024-10-05 16:39:36 +02:00
text-decoration: none;
}
2024-10-25 18:03:01 +02:00
label {
font-family: ubuntu, arial;
font-size: 16px;
color: white;
2024-10-25 23:32:11 +02:00
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);
2024-10-25 18:03:01 +02:00
}
hr {
margin: 0px 16px 16px 0px;
border: 1px solid rgba(255, 255, 255, 0.5);
}
2024-10-05 16:39:36 +02:00
.background {
background-image: url('<?= $chosen_background ?>');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
2024-10-21 13:18:46 +02:00
border-radius: 16px;
2024-10-22 16:36:30 +02:00
padding: 10px;
2024-10-05 16:39:36 +02:00
}
.text-background {
2024-10-21 13:18:46 +02:00
background-color: rgba(51, 51, 51, 0.2);
2024-10-05 16:39:36 +02:00
padding: 10px;
}
.topnav {
background-color: rgba(51, 51, 51, 0.863);
overflow: hidden;
width: 100%;
position: fixed;
top: 8px;
2024-10-21 13:18:46 +02:00
border-radius: 16px 0px;
2024-10-05 16:39:36 +02:00
}
.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;
}
.heading-text {
font-family: ubuntu, arial;
color: white;
font-size: 20px;
padding-left: 20px;
}
2024-10-05 16:39:36 +02:00
.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;
2024-10-21 13:18:46 +02:00
}
.glass {
2024-10-22 16:36:30 +02:00
backdrop-filter: blur(8px);
2024-10-21 13:18:46 +02:00
border-radius: 16px;
2024-10-22 15:35:45 +02:00
margin: 32px 16px 64px;
2024-10-22 15:44:48 +02:00
}
.glassint {
2024-10-22 16:36:30 +02:00
backdrop-filter: blur(8px);
2024-10-22 15:44:48 +02:00
border-radius: 16px;
margin: 32px 16px 64px;
2024-10-22 15:35:45 +02:00
animation-name: glassdiff;
animation-duration: 0.3s;
}
2024-10-22 15:44:48 +02:00
.glassint:hover {
backdrop-filter: blur(2px);
2024-10-22 15:35:45 +02:00
border-radius: 16px;
animation-name: glassclear;
animation-duration: 0.3s;
}
@keyframes glassdiff {
0% {
2024-10-22 15:44:48 +02:00
backdrop-filter: blur(2px);
2024-10-22 15:35:45 +02:00
}
100% {
2024-10-22 16:36:30 +02:00
backdrop-filter: blur(8px);
2024-10-22 15:35:45 +02:00
}
}
@keyframes glassclear {
0% {
2024-10-22 16:36:30 +02:00
backdrop-filter: blur(8px);
2024-10-22 15:35:45 +02:00
}
100% {
2024-10-22 15:44:48 +02:00
backdrop-filter: blur(2px);
2024-10-22 15:35:45 +02:00
}
2024-10-21 13:18:46 +02:00
}
.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);
2024-10-22 15:44:48 +02:00
}
.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);
2024-10-22 15:35:45 +02:00
animation-name: pushins;
animation-duration: 0.3s;
}
2024-10-22 15:44:48 +02:00
.inout:hover {
2024-10-22 15:35:45 +02:00
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);
2024-10-22 16:36:30 +02:00
}
.button {
2024-10-22 16:59:47 +02:00
border: 2px solid rgba(255, 255, 255, 0.5);
2024-10-22 16:36:30 +02:00
border-radius: 16px;
margin: 0px 16px 16px 16px;
padding: 8px;
font-size: 16px;
text-align: center;
font-weight: bold;
2024-10-05 16:39:36 +02:00
}