coopcloud.tech/themes/cloud.autonomic.zone/assets/scss/main.scss

121 lines
2.4 KiB
SCSS
Raw Normal View History

@charset "utf-8";
// Branding
2021-03-29 12:52:05 +00:00
$autonomic-red: #EE4A33;
$coopcloud-blue: #202674;
$coopcloud-pink: #ff4f88;
2021-03-29 12:52:05 +00:00
$white: white;
$text-color: #1C1C1C;
$bg-color: #EFEFEF;
$footer-background-color: $coopcloud-blue;
$footer-color: true;
2021-03-29 12:52:05 +00:00
$danger: $autonomic-red;
// HACK: Changing button behaviour globally as quick fix for the "visit: autonomic.zone" button
$button-border-width: 2px;
2021-03-29 12:52:05 +00:00
$button-hover-border-color: $white;
$button-focus-border-color: $white;
$button-active-border-color: $white;
$button-ghost-border-color: $white;
$button-ghost-hover-color: $white;
$button-text-hover-color: $white;
$button-focus-box-shadow-size: 0;
@import "./bulma/bulma.sass";
2021-03-29 20:59:03 +00:00
@mixin define-manrope-family($weight, $uri) {
font-family: 'Manrope';
src: url($uri) format("woff2");
font-weight: $weight;
}
2021-03-29 20:59:03 +00:00
@mixin thick-hr {
height: 4px;
}
@font-face {
@include define-manrope-family(bold, '../font/manrope.bold.woff2')
}
@font-face {
2021-03-29 20:59:03 +00:00
@include define-manrope-family(300, '../font/manrope.light.woff2')
}
2021-03-29 20:59:03 +00:00
@font-face {
2021-03-29 20:59:03 +00:00
@include define-manrope-family(medium, '../font/manrope.medium.woff2')
}
body {
background-color: $bg-color;
color: $text-color;
padding: 0;
margin: 0;
2021-03-29 20:59:03 +00:00
font-family: 'Manrope', sans-serif;
}
.question {
padding: 10px;
h2 {
font-weight: bold;
font-size: 2em;
margin-bottom: 9px;
}
p {
padding: 0;
margin: 0;
}
}
2021-03-29 15:40:10 +00:00
.hr-header {
2021-03-29 20:59:03 +00:00
@include thick-hr();
2021-03-29 15:40:10 +00:00
}
hr {
background-color: $text-color;
border: none;
height: 1px;
2021-03-29 20:59:03 +00:00
}
2021-03-29 15:40:10 +00:00
2021-03-29 20:59:03 +00:00
.is-autonomic {
background-color: $autonomic-red;
color: $white;
h1 {
color: $white !important;
}
hr {
@include thick-hr();
2021-03-29 15:40:10 +00:00
background-color: $white;
}
2021-03-29 20:59:03 +00:00
a {
color: $white;
text-decoration: underline;
}
.content {
padding-bottom: 20px;
}
#who-is-involved {
padding-bottom: 40px;
}
2021-03-29 15:40:10 +00:00
}
#header {
background-color: $coopcloud-pink;
padding: 10px;
margin: 0;
}
2021-03-29 20:59:03 +00:00
// Do not show server image when using mobile viewport
2021-03-29 15:40:10 +00:00
// Is a little bigger than the actual mobile viewport in bulma due to the text overlapping with the server icon
@media all and (min-width: 769px) {
#server-hero {
background-image: url("/svg/hero-server.svg");
background-repeat: no-repeat;
background-size: 20%;
background-position: calc(100% - 20px) ;
}
}