witch-website/style.css

147 lines
2.5 KiB
CSS
Raw Normal View History

2023-11-23 07:23:48 -06:00
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;900&display=swap');
:root {
--bg: rgb(104, 46, 46);
--bg-lighter: rgb(255, 112, 115);
--scrollbar: rgb(255, 205, 205);
--info-block-bg: #c07f7f;
2023-11-24 06:45:09 -06:00
--second-color: #e7ffc1;
2023-11-23 07:23:48 -06:00
--info-block-border: 10px;
}
* {
user-select: none;
-webkit-user-drag: none;
}
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: 'Merriweather', serif;
background: url(background.png) no-repeat center center fixed;
background-color: var(--bg);
transition: ease-in-out .2s;
background-size: cover;
overflow: hidden;
margin: 0;
}
2023-11-24 06:45:09 -06:00
#loading-container {
transform: translate(-50%, -50%);
transition: ease-in-out .3s;
position: absolute;
color: white;
opacity: 1;
left: 50%;
top: 50%;
2023-11-23 07:23:48 -06:00
}
2023-11-24 06:45:09 -06:00
#difference {
color: var(--second-color);
2023-11-23 07:23:48 -06:00
}
2023-11-24 06:45:09 -06:00
#container {
transition: ease-in-out .3s;
justify-content: center;
flex-direction: column;
align-items: center;
display: flex;
height: 100%;
width: 100%;
opacity: 0;
}
#container>* {
color: white;
2023-11-23 07:23:48 -06:00
text-align: center;
2023-11-24 06:45:09 -06:00
background-color: var(--info-block-bg);
max-width: 50%;
padding: 15px;
margin: 5px;
2023-11-23 07:23:48 -06:00
}
2023-11-24 06:45:09 -06:00
#facts-block {
2023-11-23 07:23:48 -06:00
display: flex;
2023-11-30 08:02:47 -06:00
position: relative;
2023-11-24 06:45:09 -06:00
align-items: center;
2023-11-23 07:23:48 -06:00
flex-direction: row;
justify-content: center;
2023-11-30 08:02:47 -06:00
width: 35%;
}
#fact {
margin: 0 10px 0 10px;
2023-11-23 07:23:48 -06:00
}
2023-11-24 06:45:09 -06:00
.arrow-button {
width: 50px;
2023-11-23 07:23:48 -06:00
margin: 10px;
2023-11-24 06:45:09 -06:00
cursor: pointer;
2023-11-30 08:02:47 -06:00
position: absolute;
2023-11-24 06:45:09 -06:00
border-radius: 100%;
color: var(--second-color);
2023-11-23 07:23:48 -06:00
}
2023-11-24 06:45:09 -06:00
.arrow-button[data-left] {
2023-11-30 08:02:47 -06:00
left: 0;
2023-11-23 07:23:48 -06:00
}
2023-11-24 06:45:09 -06:00
.arrow-button[data-right] {
2023-11-30 08:02:47 -06:00
right: 0;
2023-11-23 07:23:48 -06:00
}
2023-11-24 06:45:09 -06:00
#witch {
filter: invert();
2023-11-23 07:23:48 -06:00
}
::-webkit-scrollbar {
width: 3px;
height: 3px;
}
::-webkit-scrollbar-button {
width: 0px;
height: 0px;
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar);
border-radius: 50px;
border: none;
}
::-webkit-scrollbar-track {
background: #666666;
border-radius: 50px;
border: none;
}
::-webkit-scrollbar-track:hover {
background: #666666;
}
::-webkit-scrollbar-track:active {
background: #333333;
}
::-webkit-scrollbar-corner {
background: transparent;
2023-11-24 02:29:25 -06:00
}
@media screen and (max-width: 978px) {
.info-block {
2023-11-30 08:02:47 -06:00
height: 50%;
2023-11-24 02:29:25 -06:00
}
2023-11-24 06:45:09 -06:00
#container>* {
max-width: unset;
2023-11-24 02:29:25 -06:00
}
2023-11-24 06:45:09 -06:00
#facts-block {
2023-11-30 08:02:47 -06:00
width: auto;
2023-11-24 02:29:25 -06:00
}
2023-11-23 07:23:48 -06:00
}