setto.basspistol.com/_sass/_layout.scss

340 lines
6.5 KiB
SCSS
Raw Normal View History

2020-08-03 21:40:11 +02:00
html,
body {
2020-09-11 19:02:26 +02:00
margin: 0;
padding: 0;
background-color: var(--bg);
2020-08-03 21:40:11 +02:00
}
body {
height: 100vh;
width: 100%;
2020-09-11 19:02:26 +02:00
font-family: _font(family);
font-weight: 300;
color: var(--fg);
2020-08-03 21:40:11 +02:00
letter-spacing: _font(kerning);
background-color: var(--bg);
2020-08-03 21:40:11 +02:00
}
#main-wrapper {
display: flex;
flex-wrap: wrap;
width: 100%;
2020-09-11 19:02:26 +02:00
-webkit-transition: filter var(--anim-speed) ease-in;
-moz-transition: filter var(--anim-speed) ease-in;
-ms-transition: filter var(--anim-speed) ease-in-out;
transition: filter var(--anim-speed) ease-in;
2020-08-10 12:47:49 +02:00
z-index: 1;
2020-08-03 21:40:11 +02:00
}
.content-wrapper {
2020-09-11 19:02:26 +02:00
max-width: var(--max-width);
2020-08-03 21:40:11 +02:00
margin: auto;
}
.wrapper {
margin: 20px 40px;
}
2020-09-18 11:52:21 +02:00
2020-08-03 21:40:11 +02:00
.hero {
display: flex;
flex-wrap: wrap;
flex-direction: row;
2020-08-03 21:45:26 +02:00
align-content: center;
2020-09-11 19:02:26 +02:00
background-color: transparent;
2020-08-03 21:40:11 +02:00
justify-content: center;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
2020-09-18 11:52:21 +02:00
padding: 0;
2020-08-03 21:40:11 +02:00
position: relative;
2020-09-18 12:01:08 +02:00
min-height: 100vh;
2020-08-03 21:40:11 +02:00
width: 100vw;
2020-08-05 12:55:29 +02:00
.textcontainer {
2020-09-18 12:21:05 +02:00
background: var(--bg-alt);
background: linear-gradient(33deg, transparent 0%, var(--bg) 90%, transparent 90%);
2020-09-11 19:02:26 +02:00
border-radius: var(--border-radius);
2020-09-18 11:52:21 +02:00
max-width: var(--max-width);
padding: 0px 40px 40px 40px;
2020-08-05 12:55:29 +02:00
}
2020-08-03 21:40:11 +02:00
div {
z-index: 10;
2020-09-11 19:02:26 +02:00
h1,
p {
2020-08-03 21:40:11 +02:00
flex: 1 0 100%;
2020-09-18 11:52:21 +02:00
2020-08-03 21:40:11 +02:00
z-index: 10;
color: var(--fg);
2020-09-11 19:02:26 +02:00
max-width: var(--max-width);
2020-08-05 10:48:20 +02:00
margin-top: 40px;
}
2020-08-03 21:40:11 +02:00
2020-09-11 19:02:26 +02:00
h1 {
font-size: 1.8em;
}
}
2020-08-03 21:40:11 +02:00
.imagecontainer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2020-09-11 19:02:26 +02:00
background-image: url("../img/vignette.svg");
2020-09-18 12:05:45 +02:00
background-size: 960px;
2020-08-03 21:40:11 +02:00
background-repeat: repeat-x;
background-position: bottom;
z-index: 1;
2020-09-11 19:02:26 +02:00
h4 {
width: 90vw;
/* height: auto; */
/* min-height: 100px; */
line-height: 1.011em;
letter-spacing: -0em;
color: var(--bg);
font-size: 15vw;
display: inline;
opacity: 1;
border-radius: var(--border-radius);
position: absolute;
bottom: 0;
transform: rotate(-3deg);
overflow: hidden;
2020-11-16 16:51:06 +01:00
background: -webkit-linear-gradient(90deg, var(--bg) 25%,var(--accent2-alt) 100%);
2020-09-11 19:02:26 +02:00
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: blur(1px);
}
2020-08-03 21:40:11 +02:00
}
2020-09-18 11:52:21 +02:00
.splash {
background-color: transparent;
display: flex;
flex-wrap: wrap;
padding: 40px;
align-items: flex-start;
max-width: var(--max-width);
margin: auto;
.description {
border-radius: var(--border-radius);
background: var(--bg-alt);
2020-09-18 12:21:05 +02:00
background: linear-gradient(33deg, transparent 0%, var(--bg) 90%, transparent 90%);
2020-09-18 11:52:21 +02:00
> * {
margin: 40px !important;
}
2020-09-22 10:56:24 +02:00
.button {
background-image: linear-gradient(228deg, var(--accent1-alt), var(--accent2-alt));
background-size: 400% 400%;
-webkit-animation: backgroundBlink 2s ease infinite;
-moz-animation: backgroundBlink 2s ease infinite;
animation: backgroundBlink 2s ease infinite;
}
2020-09-18 11:52:21 +02:00
}
h1, h2 {
font-size: 2em;
}
p, h1, h2, h3, h4 {
text-align: left;
margin-top: 20px;
}
h1:first-child {
margin-top: 0;
}
div {
max-width: unset;
margin: 0;
flex: 1 1 300px;
}
.splash-logo {
padding: 0;
margin: 0;
}
@media only screen and (max-width: 759px) {
div {
min-width: 100%;
padding: 20px 0;
}
.splash-logo {
padding: 20px 0;
}
}
}
2020-08-03 21:40:11 +02:00
}
section {
2020-09-11 19:02:26 +02:00
.container {
max-width: var(--max-width);
margin: 0 auto;
}
2020-08-03 21:40:11 +02:00
flex: 1 1 100%;
background-color: var(--bg);
2020-09-11 19:02:26 +02:00
2020-08-10 12:47:49 +02:00
z-index: 2;
2020-08-03 21:40:11 +02:00
h2 {
text-align: center;
2020-09-11 19:02:26 +02:00
padding: 40px 0;
2020-08-03 21:40:11 +02:00
}
}
section:first-of-type {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
2020-09-11 19:02:26 +02:00
margin-top: 0;
2020-08-10 12:47:49 +02:00
padding-top: 40px;
2020-08-03 21:40:11 +02:00
}
2020-09-11 19:02:26 +02:00
.section-title {
padding: 80px;
}
2020-08-03 21:40:11 +02:00
footer {
width: 100%;
2020-08-04 10:48:11 +02:00
padding: 160px 20px 200px 20px;
background-color: var(--fg);
color: var(--bg);
2020-09-11 19:02:26 +02:00
background-image: url("../img/vignette-footer.svg");
2020-09-18 12:01:08 +02:00
background-size: 200px;
2020-08-03 21:40:11 +02:00
background-repeat: repeat-x;
background-position: top;
2020-08-04 10:48:11 +02:00
box-sizing: border-box;
2020-08-10 12:47:49 +02:00
z-index: 2;
2020-09-11 19:02:26 +02:00
a {
color: var(--bg);
}
.icon {
border: 1px solid var(--bg);
}
.footframe {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: var(--max-width);
margin: auto;
padding: 20px;
div {
flex: 0 1 300px;
margin-bottom: 80px;
img {
margin: auto;
display: block;
width: 100%;
}
li {
border-bottom: 1px solid var(--bg-alt);
line-height: 2;
font-size: 1.5em;
a {
font-weight: 700;
text-decoration: none;
color: var(--bg);
}
}
2020-08-03 21:40:11 +02:00
}
2020-09-11 19:02:26 +02:00
small {
flex: 0 0 100%;
box-sizing: border-box;
margin: 0;
text-align: center;
font-size: 0.8em;
.label {
display: none;
2020-08-03 21:40:11 +02:00
}
}
}
2020-09-11 19:02:26 +02:00
@media only screen and (max-width: 679px) {
.footframe {
justify-content: center;
div {
flex-grow: 1;
}
2020-08-03 21:40:11 +02:00
}
}
}
.post-navigation {
2020-09-11 19:02:26 +02:00
margin: 0;
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 40px;
align-items: flex-start;
max-width: var(--max-width);
margin: 0 auto;
h2 {
flex: 0 0 100%;
margin-top: 40px;
text-align: center;
}
.post-nav,
.post-nav-next {
flex: 1 0 200px;
h4 {
font-size: 2em;
justify-self: right;
}
}
.post-nav {
margin: 0 40px 0 0;
text-align: left;
}
.post-nav-next {
margin: 0 0 0 40px;
text-align: right;
}
2020-08-03 21:40:11 +02:00
}
2020-09-11 19:02:26 +02:00
}
// album index
.releases {
padding: 80px 0;
2020-08-03 21:40:11 +02:00
2020-09-11 19:02:26 +02:00
.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 40px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
h2 {
flex: 0 0 100%;
margin: 20px;
}
article {
flex: 0 1 280px;
max-width: 480px;
margin: 20px 0;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 5px;
2020-08-03 21:40:11 +02:00
}
}
2020-09-11 19:02:26 +02:00
}
2020-08-03 21:40:11 +02:00
2020-09-11 19:02:26 +02:00
// Streambox
.streambox {
text-align: center;
line-height: 2em;
2020-09-18 13:04:52 +02:00
padding: 0 40px;
2020-09-11 19:02:26 +02:00
}
.streamer {
max-width: var(--max-width);
margin: 80px auto;
padding: 0 40px;
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
p {
text-align: center !important;
}
.icon {
flex: 0 0 100px;
margin: 0;
justify-self: center;
}
}