Wobbly-Website/styles.php

234 lines
4.4 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;
}
p {
font-family: ubuntu, arial;
padding-left: 20px;
color: white;
font-size: 16px;
text-shadow: 0px 0px 16px rgb(0, 0, 0), 0px 0px 16px rgb(0, 0, 0), 0px 0px 16px rgb(0, 0, 0);
}
a {
font-family: ubuntu, arial;
color: rgb(100, 100, 200);
text-decoration: none;
}
.background {
background-image: url('<?= $chosen_background ?>');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
2024-10-22 15:35:45 +02:00
min-height: 800px;
2024-10-21 13:18:46 +02:00
border-radius: 16px;
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;
}
.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 {
backdrop-filter: blur(4px);
border-radius: 16px;
2024-10-22 15:35:45 +02:00
margin: 32px 16px 64px;
2024-10-22 15:44:48 +02:00
}
.glassint {
backdrop-filter: blur(4px);
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% {
backdrop-filter: blur(4px);
}
}
@keyframes glassclear {
0% {
backdrop-filter: blur(4px);
}
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-05 16:39:36 +02:00
}