Website/public/css/style.css

202 lines
3.9 KiB
CSS

@import url("button.css");
@import url("../fonts/hidayatullah/hidayatullah-demo.css");
@import url("../fonts/heal-the-web-a/heal-the-web-a.css");
/*@import url("../fonts/heal-the-web-b/heal-the-web-b.css");*/
:root {
--textcolor: #191102;
--link: #A81ADB;
--defcurdark: url("../curdark/cursor-pointer-1-dark.png");
--pointercur: url("../curdark/cursor-pointer-18-dark.png");
--desertbg: url("../pix/desertile_03.png");
--sand: url("../pix/sand.png");
--obelisk: url("../pix/obelisk2.png");
--wall: url("../pix/Tileset4.png");
--bg: linear-gradient(0deg, #53F4FF 0%, #85F7FF 33%, #ADFAFF 66%);
--bg-repeats: no-repeat, repeat-x, repeat, no-repeat;
--clouds: url("../pix/cloudtiling.png");
--space: none;
--selcolor: #f13946;
--blockfont: a;
}
@media (prefers-color-scheme: dark) {
:root {
--textcolor: #F7F3E3;
--link: #47E8AD;
--defcurdark: url("../cur/cursor-pointer-1.png");
--pointercur: url("../cur/cursor-pointer-18.png");
--desertbg: url("../pix/deserttile_night.png");
--sand: url("../pix/sand_night.png");
--obelisk: url("../pix/obelisk_night.png");
--wall: url("../pix/wall_night.png");
--clouds: none;
--space: url("../pix/space.png");
--bg: linear-gradient(0deg, rgba(90,125,143,1) 0%, rgba(21,59,109,1) 43%, rgba(26,32,50,1) 100%);
--selcolor: #F17300;
}
}
::selection {
background: var(--selcolor);
color: white;
}
html {
cursor: var(--defcurdark), auto;
min-height: 100%;
}
main {
font-family: Heal The Web A;
font-feature-settings: "ss02", "ss05";
font-size: 14pt;
-webkit-font-smoothing: none;
-moz-osx-font-smoothing: grayscale;
padding-top: 20px;
padding-bottom: calc(225px + 20px);
padding-right: calc(147px + 20px + 2vw);
}
body {
color: var(--textcolor);
background-image: var(--obelisk),
var(--desertbg)
,var(--space)
, var(--bg)
;
background-repeat: var(--bg-repeats);
background-position: bottom 32px right 20px, right bottom, right bottom, right bottom;
background-attachment: fixed;
margin: 0;
padding: 0;
}
.maintitle {
font-family: Hidayatullah DEMO;
font-size: 80px;
padding-top: 30px;
color: var(--textcolor);
}
.content-dist {
padding-left: calc(2.2% + 200px);
}
.nav {
position: fixed;
width: 200px;
float: left;
height: 100%;
border: solid black;
background-image: var(--wall);
background-origin: border-box;
background-repeat: repeat;
background-position: top right;
border-width: 0px 1px 0px 0px;
}
header {
background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.20) 50%, rgba(0, 0, 0, 0) 100%);
}
.topleftpic {
width: 150px;
height: auto;
margin: 0 auto;
padding: 5vh 0px 10vh;
}
a {
cursor: var(--pointercur), pointer;
}
a:not(:has(picture)) {
position: relative;
overflow: hidden;
text-decoration: none;
color: var(--link);
&::after {
content: "";
background: var(--textcolor);
position: absolute;
left: -2.5%;
bottom: -2px;
width: calc(105%);
height: calc(10%);
z-index: -1;
transition: 0.35s;
}
&:visited{
color:var(--link)
}
&:hover{
color: white;
transition: 0.35s;
}
&:hover::after {
background: var(--link);
bottom: -2px;
width: 105%;
height: 125%;
}
}
#desert {
position: fixed;
left: 0;
bottom: 0;
right: 0;
height: 32px;
background-image: var(--sand);
z-index: 10;
}
#clouds {
display: block;
width: 100vw;
top: 0px;
bottom: 80vh;
background-image: var(--clouds);
background-repeat: repeat-x;
background-position: top left;
background-attachment: scroll;
animation: r-t-l 500s linear infinite,
u-d 300s ease-in-out infinite;
z-index: -1;
position: fixed;
}
@keyframes r-t-l {
0% {
background-position: 0px 0px
}
100% {
background-position: 500px 0px
}
}
@keyframes u-d {
0%{
top: 5px;
}
25%{
top: -5px;
}
50%{
top: 5px;
}
75%{
top: -5px;
}
100%{
top: 5px;
}
}