my-32bit-cafe/css/style.css

136 lines
2.4 KiB
CSS

* {
overscroll-behavior: none;
}
html {
font-size: 1.05em;
width: 100%;
height: 100%;
}
@keyframes hueShift {
0% { filter: hue-rotate(0deg); }
50% { filter: hue-rotate(20deg); }
100% { filter: hue-rotate(0deg); }
}
html::before {
/*animation: hueShift 6s infinite linear;*/
height: 100%;
width: 100%;
background-image: url('themes/macchiato_assets/pattern 315.gif');
z-index: -10;
content: ' ';
position: fixed;
filter: brightness(90%);
}
body::before {
height:100%;
width:100%;
max-width: 1100px;
background-color: white;
content: ' ';
z-index: -5;
position: fixed;
}
body {
height: 100%;
max-width:1100px;
width: 100%;
display: flex;
margin: 0 auto;
box-shadow: -10px 0px 20px 0px rgba(0,0,0,0.5), 10px 0px 20px 0px rgba(0,0,0,0.5);
background-color: white;
}
body .sidebar {
z-index: 0;
padding-top: 10px !important;
height: calc(100% - 10px) !important;
top: 0;
padding-left: 7px;
padding-right: 7px;
position: relative !important;
}
.main_frame {
width: 100%;
padding-left: 15px;
padding-right: 15px;
margin-left: 0 !important;
margin-right: 0 !important;
overflow: auto;
background-image: url('https://i.imgur.com/hAkK4gA.png');
}
.sidebar ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.sidebar li {
display: block;
padding: 5px;
}
.sidebar label {
margin-top: 10px;
padding: 0;
cursor: pointer;
user-select: none;
}
.sidebar a:hover, .sidebar label:hover {
filter:brightness(110%);
}
.sidebar input[type='radio'] {
display: none;
}
.link_group ul {
user-select: none;
max-height: 0px;
overflow: hidden;
transition: 0.3s max-height;
}
.sidebar .link_group:has(input[type='radio']:checked) ul {
max-height: 1000px;
transition: 0.3s ease-in max-height;
transition-delay: 0.0s;
}
.main_frame {
max-width: 860px;
line-height: 1.5em;
margin-left:15px;
margin-right: 10px;
font-family: "EB Garamond"
}
.main_frame h2 {
margin-bottom: 0px;
padding-bottom:0px;
}
.main_frame p {
margin-top: 10px;
}
.logo_holder {
width: 254px;
}
.logo_holder img {
width: 100%;
}
.page_title {
line-height: 1.05;
box-shadow: 3px 3px #3d3d3d;
background-color: purple;
padding-left: 15px;
font-family: 'Rajdhani', sans-serif;
font-style: italic;
text-shadow: 1px 1px BLACK;
/*background-image: url(https://emma31.tripod.com/backs2/pup2.gif);*/
background-image: url('themes/macchiato_assets/pup2.png');
color: white;
user-select: none;
}
.page_title h1 {
padding-top: 20px;
padding-bottom: 20px;
}