setto.basspistol.com/_sass/_layout.scss

470 lines
9 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;
2021-04-04 20:10:05 +02:00
font-size: 1em;
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-12-15 13:31:20 +01:00
background: -webkit-linear-gradient(90deg, var(--bg) 25%,transparent 100%);
2020-09-11 19:02:26 +02:00
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
2020-12-11 13:19:07 +01:00
filter: blur(2px);
2020-09-11 19:02:26 +02:00
}
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 {
2021-05-04 23:37:17 +02:00
display: flex;
flex-wrap: wrap;
2020-09-18 11:52:21 +02:00
border-radius: var(--border-radius);
background: var(--bg-alt);
2021-04-10 11:56:55 +02:00
box-shadow: 15px 15px 28px 24px var(--bg-alt);
-webkit-box-shadow: 15px 15px 28px 24px var(--bg-alt);
-moz-box-shadow: 15px 15px 28px 24px var(--bg-alt);
2020-09-18 11:52:21 +02:00
> * {
margin: 40px !important;
}
2020-12-14 20:18:16 +01:00
> ul {
display: flex;
2020-12-14 20:39:45 +01:00
justify-content: space-between;
2020-12-14 20:18:16 +01:00
flex-wrap: wrap;
2020-12-15 13:31:20 +01:00
2020-12-14 20:18:16 +01:00
.button {
2020-12-15 13:41:18 +01:00
background-image: linear-gradient(228deg, var(--accent1-alt), var(--accent2-alt));
2020-12-14 20:18:16 +01:00
background-size: 400% 400%;
2020-12-14 20:39:45 +01:00
-webkit-animation: backgroundBlink 7s ease infinite;
-moz-animation: backgroundBlink 7s ease infinite;
animation: backgroundBlink 7s ease infinite;
2020-12-15 13:31:20 +01:00
width: 100px;
height: 100px;
line-height: 100px;
2020-12-25 20:07:09 +01:00
margin: 0 0 10px 0;
2020-12-15 13:31:20 +01:00
padding:0;
font-size: 65px;
2020-12-14 20:18:16 +01:00
}
2020-09-22 10:56:24 +02:00
}
2021-05-04 23:37:17 +02:00
.mauticform_wrapper {
width: 200px;
.button {
border: 0;
}
}
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) {
2020-12-25 17:21:45 +01:00
text-align: center;
2020-09-18 11:52:21 +02:00
div {
min-width: 100%;
padding: 20px 0;
}
.splash-logo {
padding: 20px 0;
}
2020-12-11 13:45:24 +01:00
}
@media only screen and (max-width: 480px) {
2020-12-25 17:21:45 +01:00
2020-12-11 13:45:24 +01:00
.description {
h1 {
font-size: 1.1em
}
2020-12-15 13:31:20 +01:00
> ul {
.button {
width: 75px;
height: 75px;
line-height: 75px;
2020-12-11 13:45:24 +01:00
2020-12-15 13:31:20 +01:00
font-size: 55px;
}
}
}
2020-09-18 11:52:21 +02:00
}
}
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;
2020-12-25 17:37:48 +01:00
background-color: var(--border-alt);
2020-12-31 00:36:38 +01:00
color: var(--fg);
2020-09-11 19:02:26 +02:00
background-image: url("../img/vignette-footer.svg");
2020-12-25 17:37:48 +01:00
background-size: 500px;
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 {
2020-12-31 00:36:38 +01:00
color: var(--fg);
2020-09-11 19:02:26 +02:00
}
.icon {
2020-12-31 00:36:38 +01:00
color: var(--fg);
2021-01-07 11:29:49 +01:00
border: 1px solid var(--fg-alt);
2020-09-11 19:02:26 +02:00
}
2020-11-17 17:30:56 +01:00
.icon:hover {
border: 1px solid var(--accent2);
2020-12-25 20:07:09 +01:00
color: var(--accent2);
2020-11-17 17:30:56 +01:00
}
2020-09-11 19:02:26 +02:00
.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 {
2020-12-25 20:07:09 +01:00
2020-09-11 19:02:26 +02:00
line-height: 2;
font-size: 1.5em;
a {
font-weight: 700;
text-decoration: none;
2020-12-31 00:36:38 +01:00
color: var(--fg);
2020-09-11 19:02:26 +02:00
}
2020-12-25 20:07:09 +01:00
a:hover {
color: var(--accent2);
}
2020-09-11 19:02:26 +02:00
}
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;
}
2021-04-10 12:05:06 +02:00
@media only screen and (max-width: 640px) {
article {
max-width: unset;
min-width: 100%;
flex-grow: 1;
margin: 20px 0;
}
}
2020-09-11 19:02:26 +02:00
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-12-11 13:19:07 +01:00
padding: 0;
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;
}
}
2020-12-25 17:34:40 +01:00
#pleroma {
2020-12-30 23:48:32 +01:00
padding: 60px 0;
2020-12-25 17:34:40 +01:00
.container {
display: flex;
flex-wrap: wrap;
2020-12-30 23:48:32 +01:00
2020-12-25 20:07:09 +01:00
border-radius: var(--border-radius);
justify-content: space-between;
2020-12-25 17:34:40 +01:00
div {
2020-12-25 20:28:53 +01:00
flex: 1 1 280px;
2020-12-25 20:07:09 +01:00
padding: 20px;
2020-12-25 20:28:53 +01:00
margin: 20px;
2020-12-25 20:07:09 +01:00
overflow: hidden;
text-overflow: ellipsis;
background-color: var(--bg-alt);
2020-12-25 20:28:53 +01:00
box-shadow: 15px 15px 28px 24px var(--border-alt);
border-radius: var(--border-radius);
2020-12-25 20:07:09 +01:00
img {
2020-12-30 23:48:32 +01:00
max-width: 100%;
2020-12-25 20:07:09 +01:00
height: auto;
}
.date {
font-size: 0.6em;
2020-12-30 23:48:32 +01:00
margin-top: 10px;
2020-12-25 21:18:56 +01:00
img {
border-radius: 40px;
width: 40px;
height: 40px;
}
2020-12-25 20:07:09 +01:00
}
h2 {
padding-top: 0;
margin-bottom: 0px;
}
hr {
2020-12-30 23:48:32 +01:00
2020-12-25 20:07:09 +01:00
border: 1px solid var(--fg-alt);
}
2020-12-25 17:34:40 +01:00
}
}
2020-12-25 21:18:56 +01:00
@media only screen and (max-width: 720px) {
.container {
width: 100vw;
justify-content: center;
div {
flex: 1 1 280px;
}
}
}
2021-05-04 23:37:17 +02:00
}
.bio {
flex-wrap: wrap;
.mauticform_wrapper, .mauticform-input {
width: calc(100% - 80px);
max-width: 480px;
2021-05-05 00:15:58 +02:00
margin: 10px auto;
2021-05-04 23:37:17 +02:00
.button {
border: 0;
}
}
}
.mautic-focus {
font-family: 'Lucida Console', Monaco, monospace;
color: #3c2a52;
background-color: #3c2a52;
2020-12-25 17:34:40 +01:00
}