epiphany/style/index.scss

102 lines
1.4 KiB
SCSS
Raw Normal View History

2022-11-12 16:13:57 -08:00
@import "vars";
html {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}
body {
background: $bg;
background-repeat: no-repeat;
background-size: cover;
2022-11-12 16:13:57 -08:00
font-family: $font;
font-size: $fsize;
letter-spacing: $lspacing;
width: 60%;
height: 70%;
margin-left: 300px;
margin-top: 75px;
2022-11-12 16:13:57 -08:00
display: grid;
gap: 10px 10px; grid-gap: 10px 10px;
grid-template-columns: 230px auto;
grid-template-rows: 1fr 2fr 240px;
grid-template-areas:
"banner banner"
"nav main"
"cbox main";
2022-11-12 16:13:57 -08:00
& > div, & > iframe { height: 100%; width: 100%; }
2022-11-12 16:13:57 -08:00
.scroll { overflow-y: auto; }
}
div#banner {
grid-area: banner;
display: grid;
gap: 0; grid-gap: 0;
grid-template-columns: 60% 40%;
grid-template-rows: 100%;
grid-template-areas: "title nav";
align-items: end;
2022-11-12 16:13:57 -08:00
div#title {
grid-area: title;
z-index: 1;
position: relative;
img {
position: absolute;
bottom: -10px;
right: 0;
}
}
div#site-nav {
grid-area: nav;
margin-bottom: 10px;
}
}
#main {
grid-area: main;
& > iframe {
2022-11-12 16:13:57 -08:00
width: 100%;
height: 100%;
}
}
#nav {
grid-area: nav;
}
#cbox {
grid-area: cbox;
position: relative;
}
#footer {
grid-area: foot;
text-align: center;
}
.transparent {
background: rgba(255,255,255,0.70);
}
a {
text-decoration: none;
color: $accent1;
&:hover {
text-decoration: underline;
color: $accent2;
2022-11-12 16:13:57 -08:00
}
}