234 lines
No EOL
4.4 KiB
PHP
234 lines
No EOL
4.4 KiB
PHP
<?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;
|
|
min-height: 800px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.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(4px);
|
|
border-radius: 16px;
|
|
margin: 32px 16px 64px;
|
|
}
|
|
|
|
.glassint {
|
|
backdrop-filter: blur(4px);
|
|
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(4px);
|
|
}
|
|
}
|
|
|
|
@keyframes glassclear {
|
|
0% {
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
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);
|
|
}
|