622 lines
11 KiB
CSS
622 lines
11 KiB
CSS
:root {
|
|
--sidebar-size: clamp(200px, 15%, 400px);
|
|
--bg-clr: blanchedalmond;
|
|
--fg-clr: black;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Cantarell";
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
font-style: normal;
|
|
font-named-instance: "Regular";
|
|
src: url("Cantarell-VF.otf") format("opentype");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Lobster";
|
|
src: url("Lobster-Regular.ttf") format("truetype");
|
|
}
|
|
|
|
h1 {
|
|
margin: 20px;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "Libre Baskerville";
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: Lobster;
|
|
}
|
|
|
|
#links {
|
|
display: inline-grid;
|
|
grid-template-rows: 100% 0px;
|
|
}
|
|
|
|
#links > * {
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
#header {
|
|
text-align: center;
|
|
padding-top: 6%;
|
|
padding-bottom: 10%;
|
|
min-height: 100vh;
|
|
box-sizing: border-box;
|
|
background-image: url(res/Avraham_Society.png);
|
|
background-position: 50% 50%;
|
|
background-attachment: fixed;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
position: relative;
|
|
margin-bottom: 5%;
|
|
/*clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 30% 100%, 0% 90%);*/
|
|
}
|
|
|
|
#header::before {
|
|
/*content: "";
|
|
position: absolute;
|
|
z-index: 0;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: block;
|
|
clip-path: polygon(0% 90%, 0 100%, 100% 100%, 100% 90%, 30% 100%);
|
|
background-color: black;
|
|
box-sizing: border-box;*/
|
|
}
|
|
|
|
body {
|
|
display: grid;
|
|
grid-template-columns: auto;
|
|
transition: grid-template-columns 1s;
|
|
}
|
|
|
|
.dropdown, .link {
|
|
background-color: aliceblue;
|
|
padding: 10px;
|
|
display: inline-block;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.dropdown-inner {
|
|
background-color: white;
|
|
display: flex;
|
|
grid-row: 2;
|
|
visibility: hidden;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.dropdown:hover + div > .dropdown-inner, .dropdown-inner:hover {
|
|
visibility: visible;
|
|
}
|
|
|
|
.dropdown-inner > * {
|
|
padding: 10px;
|
|
}
|
|
|
|
#content > * {
|
|
margin: 10%;
|
|
}
|
|
|
|
#headin {
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 10000000;
|
|
box-sizing: border-box;
|
|
margin-bottom: 10vh;
|
|
}
|
|
|
|
#hambugha + label {
|
|
display: none;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 4em;
|
|
}
|
|
|
|
#head-marker {
|
|
padding-top: 10vh;
|
|
}
|
|
|
|
#head-marker.scrolly-out + #headin {
|
|
position: fixed;
|
|
justify-content: space-between;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
top: 0px;
|
|
left: 0px;
|
|
/*color: red;*/
|
|
/*margin-left: var(--sidebar-size);*/
|
|
width: calc(100vw); /*- var(--sidebar-size)*/
|
|
transition: margin-left 1s, width 1s;
|
|
/*width: 100vw;*/
|
|
background-color: var(--bg-clr);
|
|
color: var(--fg-clr);
|
|
}
|
|
|
|
#headin > * {
|
|
color: var(--fg-clr);
|
|
}
|
|
|
|
#head-marker.scrolly-out + #headin > #links > * > *, #head-marker.scrolly-out + #headin > #links > * {
|
|
/*background-color: black;*/
|
|
}
|
|
|
|
#outer {
|
|
position: relative;
|
|
height: 100vh;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
#sider-outer {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
position: absolute;
|
|
overflow: visible !important;
|
|
z-index: 1000000000000;
|
|
min-width: var(--sidebar-size);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background-color: blanchedalmond;
|
|
}
|
|
|
|
body.sidebar-opened > #sider-outer.design-1 {
|
|
clip-path: polygon(0% 0%, 0% 90%, 100% 100%, 100vw 100%, 100vw 0%, 100% 10%);
|
|
padding-bottom: 5vh;
|
|
padding-top: 5vh;
|
|
}
|
|
|
|
body.sidebar-opened > #sider-outer.design-2 {
|
|
clip-path: url(#design-2);
|
|
padding-bottom: 5vh;
|
|
padding-top: 5vh;
|
|
padding-right: 5vw;
|
|
}
|
|
|
|
#sider-outer.design-4 {
|
|
height: 100vh;
|
|
padding-top: 3.5em;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
text-align: center;
|
|
}
|
|
|
|
#sider {
|
|
padding: 20px;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
body:not(.sidebar-opened) {
|
|
--sidebar-size: 0px !important;
|
|
}
|
|
|
|
body:not(.sidebar-opened) > #sider-outer > #sider {
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 0px;
|
|
}
|
|
|
|
body:not(.sidebar-opened) > #sider-outer > #sider > img {
|
|
/*right: none;*/
|
|
left: 0px;
|
|
padding-left: 10px;
|
|
background-color: rgb(117, 96, 63);
|
|
padding: 20px;
|
|
/*clip-path: polygon(0% 0%, 100% 50%, 0% 100%);*/
|
|
}
|
|
|
|
#sider > img {
|
|
position: absolute;
|
|
right: 0px;
|
|
top: 50%;
|
|
width: 20px;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#sider-cats {
|
|
border-left: 2px solid white;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
#sider-cats > input + label + div {
|
|
display: none;
|
|
border-left: 2px solid white;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
#sider-cats > div {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
#sider-cats > label {
|
|
color: #333333;
|
|
padding-right: 10px;
|
|
padding-bottom: 10px;
|
|
display: inline-block;
|
|
}
|
|
|
|
#sider-cats > label:hover {
|
|
color: black;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#sider-cats > input:checked + label + div {
|
|
display: block;
|
|
}
|
|
|
|
#sider > h2 {
|
|
border-right: 2px solid white;
|
|
border-bottom: 2px solid white;
|
|
text-align: center;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #333333;
|
|
}
|
|
|
|
a:hover {
|
|
color: black;
|
|
}
|
|
|
|
.carousel > div {
|
|
min-width: max(15vw, 15vh);
|
|
min-height: max(15vw, 15vh);
|
|
transition: min-height 1s, min-width 1s;
|
|
background-size: cover;
|
|
background-position: center;
|
|
padding: max(2vw, 2vh);
|
|
box-sizing: border-box;
|
|
border-radius: 30px;
|
|
display: inline-block;
|
|
margin-left: 2%;
|
|
margin-right: 2%;
|
|
opacity: 50%;
|
|
}
|
|
|
|
.carousel > div:first-child {
|
|
margin-left: 50vw;
|
|
}
|
|
|
|
.carousel > div:last-child {
|
|
margin-right: 50vw;
|
|
}
|
|
|
|
.carousel > div.selected {
|
|
min-width: max(20vw, 20vh);
|
|
min-height: max(20vw, 20vh);
|
|
opacity: 100%;
|
|
}
|
|
|
|
.carousel::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.carousel {
|
|
/*-ms-overflow-style: none;
|
|
scrollbar-width: none;*/
|
|
display: flex;
|
|
align-items: center;
|
|
width: max-content;
|
|
padding: 1%;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
min-height: max(22vw, 22vh);
|
|
}
|
|
|
|
h1 {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.carousel-outer {
|
|
margin-top: clamp(50px, 10vh, 100px);
|
|
display: flex;
|
|
background-color: black;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.carousel-outer > img {
|
|
z-index: 1000;
|
|
position: absolute;
|
|
transition: height 1s;
|
|
height: 50%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.carousel-outer > img:hover {
|
|
height: 75%;
|
|
}
|
|
|
|
.carousel-outer > img:first-child {
|
|
left: 2vw;
|
|
}
|
|
|
|
.carousel-outer > img:last-child {
|
|
right: 2vw;
|
|
text-align: center;
|
|
}
|
|
|
|
.image-relational-scrolling {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.image-relational-scrolling > div:last-child > p:last-child {
|
|
padding-bottom: 25vh;
|
|
}
|
|
|
|
.image-relational-scrolling > div:last-child > p {
|
|
padding-bottom: 75px;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.image-relational-scrolling > div:first-child {
|
|
min-width: 30vw;
|
|
max-width: 30vw;
|
|
box-sizing: border-box;
|
|
position: sticky;
|
|
top: calc(25vh);
|
|
left: 0px;
|
|
overflow: hidden;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.image-relational-scrolling > div:first-child > img {
|
|
width: 100%;
|
|
height: 0px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
opacity: 0%;
|
|
transition: opacity 200ms;
|
|
position: absolute;
|
|
}
|
|
|
|
.image-relational-scrolling > div:first-child > img.selected {
|
|
opacity: 100%;
|
|
height: auto;
|
|
position: initial;
|
|
}
|
|
|
|
#footer {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
justify-content: space-evenly;
|
|
background-color: black;
|
|
border-bottom: 0.3px solid grey;
|
|
margin-top: 10%;
|
|
}
|
|
|
|
#footer > p {
|
|
padding: 2em;
|
|
color: var(--fg-clr);
|
|
}
|
|
|
|
#truebottom {
|
|
background-color: black;
|
|
text-align: center;
|
|
padding: 5px;
|
|
color: white;
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
.image-relational-scrolling > div:last-child > p > img {
|
|
display: none;
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
#footer {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.image-relational-scrolling > div:first-child {
|
|
display: none;
|
|
}
|
|
|
|
.image-relational-scrolling > div:last-child > p > img {
|
|
display: initial;
|
|
padding: 3em;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.image-relational-scrolling {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#hambugha + label {
|
|
display: inline-block;
|
|
background-color: aliceblue;
|
|
padding: 10px;
|
|
margin: 10px;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
#hambugha + label:hover {
|
|
background-color: grey;
|
|
}
|
|
|
|
#links {
|
|
display: flex;
|
|
visibility: hidden;
|
|
flex-direction: column;
|
|
height: 0px;
|
|
}
|
|
|
|
#links-outer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
display: none;
|
|
}
|
|
|
|
#links > div:nth-child(2n) {
|
|
display: none;
|
|
}
|
|
|
|
#links > div:nth-child(2n - 1):hover + div, #links > div:nth-child(2n):hover {
|
|
display: inline-block;
|
|
visibility: visible;
|
|
}
|
|
|
|
#hambugha:checked + label + #links {
|
|
visibility: visible;
|
|
}
|
|
|
|
p {
|
|
margin-left: 100px !important;
|
|
margin-right: 20px !important;
|
|
font-size: 2em;
|
|
}
|
|
|
|
* {
|
|
/*font-size: 3em;*/
|
|
}
|
|
|
|
#header {
|
|
background-size: 100vw auto;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#head-marker {
|
|
padding-top: 0vh;
|
|
}
|
|
|
|
iframe {
|
|
--video-width: 90vw !important;
|
|
}
|
|
|
|
#sider {
|
|
font-size: 2em;
|
|
}
|
|
|
|
#head-marker.scrolly-out+#headin {
|
|
position: static;
|
|
justify-content: center;
|
|
transition: background-color 0.3s, color 0.3s;
|
|
top: 0px;
|
|
left: 0px;
|
|
/*color: red;*/
|
|
/*margin-left: var(--sidebar-size);*/
|
|
width: calc(100vw);
|
|
/*- var(--sidebar-size)*/
|
|
transition: margin-left 1s, width 1s;
|
|
/*width: 100vw;*/
|
|
background-color: initial;
|
|
color: initial;
|
|
}
|
|
}
|
|
|
|
#content > p {
|
|
margin: 30px;
|
|
margin-left: 20vw;
|
|
margin-right: 20vw;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#content > .wide {
|
|
margin: 0px;
|
|
width: 100%;
|
|
}
|
|
|
|
#content {
|
|
min-height: 50vh;
|
|
background-color: var(--bg-clr);
|
|
color: var(--fg-clr);
|
|
padding-bottom: 10vh;
|
|
}
|
|
|
|
#content > p > .overlay {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: -1000000;
|
|
opacity: 50%;
|
|
}
|
|
/*
|
|
@keyframes shmoosh {
|
|
0% {
|
|
scale: 1;
|
|
translate: 10px -30px;
|
|
}
|
|
|
|
38% {
|
|
scale: 0.8 1;
|
|
translate: 80% 30%;
|
|
rotate: 160deg;
|
|
}
|
|
|
|
40% {
|
|
scale: 0.8 1;
|
|
translate: 80% 30%;
|
|
rotate: 160deg;
|
|
}
|
|
|
|
78% {
|
|
scale: 1.3;
|
|
translate: 0% 50%;
|
|
rotate: -20deg;
|
|
}
|
|
|
|
80% {
|
|
scale: 1.3;
|
|
translate: 0% 50%;
|
|
rotate: -20deg;
|
|
}
|
|
|
|
100% {
|
|
scale: 1;
|
|
translate: 10px -30px;
|
|
}
|
|
}
|
|
|
|
.shmoosh {
|
|
transform-origin: center;
|
|
animation: shmoosh 10s linear infinite;
|
|
}*/
|
|
|
|
.parallax {
|
|
height: clamp(100px, 40vh, 600px);
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
iframe {
|
|
--video-width: 50vw;
|
|
position: relative;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
box-sizing: border-box;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
width: var(--video-width) !important;
|
|
height: calc(var(--video-width) * 9/16) !important;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-clr);
|
|
} |