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.

374 lines
6.3 KiB
Stylus

4 years ago
@import "/css/fonts.css";
html, body, .navigation-overlay
min-height: 100vh
4 years ago
// min-width: 100vw
4 years ago
4 years ago
4 years ago
body > canvas
position: fixed
height: 100vh
width: 100vw
left: 0
top: 0
z-index -2
.navigation-overlay
position absolute
transition: .7s;
opacity 0
z-index -1000
4 years ago
& .logo
position: fixed !important
4 years ago
.open-nav
opacity 1
z-index 1000
.cross
cursor pointer
4 years ago
left 1vh
top 1vh
width max(2vw, 1.5em)
height max(2vw, 1.5em)
4 years ago
z-index 1003
4 years ago
.idle
opacity: 1
position: absolute
left: 0
transition: .5s
4 years ago
width max(2vw, 1.5em)
height max(2vw, 1.5em)
4 years ago
margin-left 1vw
4 years ago
.active
opacity: 0
position: absolute
left: 0
transition: .5s
4 years ago
width max(2vw, 1.5em)
height max(2vw, 1.5em)
4 years ago
margin-left 1vw
4 years ago
img
max-width: inherit
&:hover .active
opacity: 1
&:hover .idle
opacity: 0
.menu-btn
left 3vh
top 3vh
#root
4 years ago
margin-top: max(3vw, 1.7em)
4 years ago
transition .6s
min-height 100vh
4 years ago
// min-width 100vw
4 years ago
& canvas
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
4 years ago
--grid-gutter: 0rem
4 years ago
--font-size: 1.8vw
4 years ago
--font-family: "Moderat Regular", sans-serif
--font-family-sans: "Moderat Regular", sans-serif
4 years ago
.darken
opacity: 0
z-index: -1
.fullheight
4 years ago
// width: 100vw
4 years ago
height: 100vh
.cool-button
padding: 3rem 9rem
font-size: calc(var(--font-size) * 0.7)
4 years ago
.smol-button
background-color: #fff !important
border: solid 0.5vh var(--color-primary)
color: #000 !important
padding: 1rem 3rem
4 years ago
.horizontal-menu
4 years ago
font-size calc(var(--font-size) / 1.7)
4 years ago
position: absolute
display: flex
bottom: 5vh
left: 0
padding-left: 8vw
padding-right: 8vw
width: 100%
4 years ago
//box-sizing: border-box
4 years ago
justify-content space-between
flex-direction row
align-items baseline
4 years ago
min-height: 3em;
4 years ago
& a, & span
cursor pointer
color: #555
4 years ago
font-size calc(var(--font-size) / 1.7)
font-weight: bold
4 years ago
cursor pointer
4 years ago
box-sizing: content-box
padding: 2px 12px
4 years ago
&:hover
outline: solid 4px var(--color-primary)
4 years ago
opacity: 1 !important
color: var(--color-primary)
background-image: none
4 years ago
&.no-underline span
4 years ago
text-decoration none !important
4 years ago
.thing-hr
4 years ago
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: 6.5em
4 years ago
background-repeat: no-repeat
background-position: center top
4 years ago
.bg-square
background-image: url("/svg/bg-square.svg")
background-size: 6.5em
4 years ago
background-repeat: no-repeat
background-position: center top
4 years ago
.bg-center
background-position: center center
.bg-auto
background-size: auto auto;
.bg-half
background-size 50%
4 years ago
.smol-video
width: 42vw
.flexy-boi
display: flex
align-items: center
justify-content: center
flex-direction column
.side-line
display flex
flex-direction row
4 years ago
& p
text-align justify
4 years ago
.side-line::before
content: ""
display: inline
margin-right 1vw
box-sizing: border-box
border: solid 0.125vw var(--color-primary)
border-radius: 0.125vw
4 years ago
background-color: var(--color-primary)
4 years ago
4 years ago
.number-thing
4 years ago
display flex
flex-direction row
align-items center
line-height 1.6
4 years ago
margin-bottom: 4vh
margin-right: 2vw
margin-left: 2vw
margin-top: 8vh
4 years ago
& span, & .down span
line-height 1
4 years ago
color var(--color-primary)
font-size calc(var(--font-size) * 2.2)
4 years ago
& p, & .down p
4 years ago
font-size calc(var(--font-size) / 1.8)
4 years ago
margin-bottom 0
4 years ago
& li, & .down li
4 years ago
font-size calc(var(--font-size) / 1.8)
4 years ago
& ol, & .down ol
4 years ago
margin-top 0
margin-left 2vw
& li
counter-increment: list
list-style-type: none;
4 years ago
font-size calc(var(--font-size) / 1.8)
4 years ago
position: relative;
&:before
font-size 110%
font-weight 900
color: var(--color-primary);
content: counter(list, lower-alpha) ") ";
.row
4 years ago
text-transform none
4 years ago
4 years ago
.hover-man
transition: .3s
4 years ago
cursor: pointer
4 years ago
&:hover
filter brightness(.7) contrast(.7)
span.hide
display: none
4 years ago
4 years ago
.down
display flex
flex-direction column
.right
align-items center
display flex
flex-direction row
4 years ago
.no-underline
a
text-decoration none !important
4 years ago
.clicked {
background-color: #888 !important;
color: #fff !important;
border-color: #888 !important;
}
4 years ago
.spacer {
height:5em;
}
4 years ago
.particles-js-canvas-el {
position: fixed;
}
.video-container { position:relative; }
.video-container video {
position:relative;
z-index:0;
}
.video-container .overlay {
position:absolute;
top:0;
left:0;
z-index:1;
}
4 years ago
.menu .horizontal-menu
bottom: auto;
top: 0;
4 years ago
margin-left: 2vw;
4 years ago
justify-content: flex-start
4 years ago
padding-top: max(1vw, 0.4em);
padding-left: max(4vw, 1.8em);
box-sizing: border-box;
padding-right: 1vw;
4 years ago
width: auto;
4 years ago
& a, & span
4 years ago
text-decoration none
4 years ago
margin-right: 2em
4 years ago
.corner span
background-image: url("/svg/zobacek.svg")
background-repeat: no-repeat
background-position: left bottom
4 years ago
.panel .btn .menu-btn {
left: auto;
top: auto;
4 years ago
padding-right: 1vw
4 years ago
}
.spaced-ul li {
margin-bottom: 1em
}
4 years ago
4 years ago
.top-margin
4 years ago
margin-top 23vh
4 years ago
4 years ago
.margin-5vh
margin-top 5vh
.margin-14vh
margin-top 14vh
.height-8vh
height 8vh
4 years ago
@media screen and (max-width: 800px)
.panel .horizontal-menu
display: none
.next
right: 9vw !important
top: auto !important
.prev
top: auto !important
left: 9vw !important
h6
font-size: calc(var(--font-size) / 1.5)
h5
font-size: calc(var(--font-size) / 1.4)
.smol-video
width: 100%
.flexy-boi
display: flex
& .horizontal-menu
flex-wrap wrap
& .horizontal-menu span
margin: 10px
flex: 0 0 21%;
.cross
width 6vw
height 6vw
& .idle
width 6vw
height 6vw
& .active
width 6vw
height 6vw
.panel
height: 4em !important
.big, .cross-og
width 10vw !important
height 10vw !important
4 years ago
& img
filter brightness(0) saturate(100%) invert(37%) sepia(82%) saturate(4328%) hue-rotate(334deg) brightness(88%) contrast(91%) !important
4 years ago
.menu
left: 0 !important
& .menu-link, & ul li
font-size: calc(var(--font-size) / 1.5) !important
4 years ago
& ul
4 years ago
width 90vw !important
.cool-button
padding: 2rem 7rem !important
font-size: calc(var(--font-size) * 0.7) !important
4 years ago
.spacer
height: 0
display: 0
.number-thing
margin-top: 0
margin-bottom: 0
.top-margin
margin-top: 0
4 years ago
.margin-5vh
margin-top: 0
.left-on-mobile
text-align left
.height-8vh
height 0
.margin-14vh
margin-top: 0