pedf
/
spolky
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

265 lines
4.4 KiB
CSS

5 years ago
@import "/css/fonts.css";
html,
body,
.navigation-overlay {
min-height: 100vh;
}
body > canvas {
position: fixed;
height: 100vh;
width: 100vw;
left: 0;
top: 0;
z-index: -2;
}
.navigation-overlay {
position: absolute;
transition: 0.7s;
opacity: 0;
z-index: -1000;
}
.open-nav {
opacity: 1;
z-index: 1000;
}
.cross {
cursor: pointer;
position: absolute;
left: 2vh;
top: 2vh;
}
.cross .idle {
opacity: 1;
position: absolute;
left: 0;
transition: 0.5s;
}
.cross .active {
opacity: 0;
position: absolute;
left: 0;
transition: 0.5s;
}
.cross img {
max-width: inherit;
}
.cross:hover .active {
opacity: 1;
}
.cross:hover .idle {
opacity: 0;
}
.menu-btn {
left: 3vh;
top: 3vh;
}
.logo {
position: absolute;
right: 3vh;
top: 3vh;
cursor: pointer;
transition: 0.2s;
}
.logo:hover {
transform: scale(1.15);
}
.menu {
position: absolute;
left: 40vh;
top: 20vh;
}
.menu ul {
list-style: none;
}
.menu ul li {
font-family: "Gill Sans MT";
font-size: 5vh;
margin-bottom: 5vh;
}
.menu ul li a {
cursor: pointer;
color: #d73648;
transition: 0.3s;
text-decoration: none;
}
.menu ul li a:hover {
text-decoration: underline;
color: #7c242e;
}
#root {
transition: 0.6s;
min-height: 100vh;
}
5 years ago
canvas {
5 years ago
position: absolute;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
z-index: -1;
}
:root {
--color-primary: #d73648;
--color-lightGrey: #d2d6dd;
--color-grey: #747681;
--color-darkGrey: #3f4144;
--color-error: #d43939;
--color-success: #28bd14;
--grid-maxWidth: 120rem;
5 years ago
--grid-gutter: 0rem;
5 years ago
--font-size: 2.5vw;
--font-family: "Gill Sans MT", sans-serif;
}
.darken {
opacity: 0;
z-index: -1;
}
.fullheight {
height: 100vh;
}
.cool-button {
padding: 3rem 9rem;
font-size: calc(var(--font-size) * 0.7);
}
5 years ago
.smol-button {
background-color: #fff !important;
border: solid 0.5vh var(--color-primary);
color: #000 !important;
padding: 1rem 3rem;
}
5 years ago
.horizontal-menu {
font-size: calc(var(--font-size) / 2);
position: absolute;
display: flex;
bottom: 5vh;
left: 0;
padding-left: 8vw;
padding-right: 8vw;
width: 100%;
box-sizing: border-box;
justify-content: space-between;
flex-direction: row;
align-items: baseline;
}
.horizontal-menu a {
text-decoration: underline;
color: #000;
font-size: calc(var(--font-size) / 2.4);
cursor: pointer;
transition: 0.2s;
}
.horizontal-menu a:hover {
color: var(--color-primary);
}
.up-arrow {
position: fixed;
top: 80vh;
right: 5vw;
cursor: pointer;
}
.gay-hr {
width: 10vw;
height: 0.6vh;
background-color: var(--color-primary);
border-radius: 0.3vh;
}
.bg-circle {
background-image: url("/svg/bg-circle.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
.bg-square {
background-image: url("/svg/bg-square.svg");
background-repeat: no-repeat;
background-position: top right;
}
.bg-center {
background-position: center center;
}
.bg-auto {
background-size: auto auto;
}
.bg-half {
background-size: 50%;
}
5 years ago
.smol-video {
width: 42vw;
}
.flexy-boi {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
line-height: 1;
}
.side-line {
display: flex;
flex-direction: row;
}
.side-line::before {
content: "";
display: inline;
margin-right: 1vw;
box-sizing: border-box;
border: solid 0.125vw var(--color-primary);
border-radius: 0.125vw;
}
.number-gay {
display: flex;
flex-direction: row;
align-items: center;
line-height: 1;
margin-bottom: 4vh;
margin-right: 2vw;
margin-left: 2vw;
margin-top: 8vh;
}
.number-gay span {
color: var(--color-primary);
font-size: calc(var(--font-size) * 2.2);
}
.number-gay p {
font-size: calc(var(--font-size) / 2.3);
margin-bottom: 0;
}
.number-gay li {
font-size: calc(var(--font-size) / 2.6);
}
.number-gay ol {
margin-top: 0;
margin-left: 2vw;
}
.number-gay ol li {
counter-increment: list;
list-style-type: none;
position: relative;
}
.number-gay ol li:before {
font-size: 110%;
font-weight: 900;
color: var(--color-primary);
content: counter(list, lower-alpha) ") ";
}
.row {
5 years ago
text-transform: none;
5 years ago
}
5 years ago
.hover-man {
transition: 0.3s;
}
.hover-man:hover {
filter: brightness(0.7) contrast(0.7);
}
5 years ago
.down {
display: flex;
flex-direction: column;
}
.right {
align-items: center;
display: flex;
flex-direction: row;
}
5 years ago
.no-underline a {
text-decoration: none !important;
}