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

180 lines
3.2 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-30 21:50:36 +00:00
$footer-padding: 3rem 1.5rem 3rem;
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')
}
@font-face {
font-family: "lora";
src: url("../font/Lora-Italic.woff2");
font-weight: 300;
font-style: italic;
}
body {
background-color: $bg-color;
color: $text-color;
padding: 0;
margin: 0;
}
body >* {
font-family: 'Manrope', sans-serif !important;
}
.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
}
button {
border-radius: 0 !important;
font-family: 'Manrope', sans-serif !important;
}
button.grey-button {
color: $text-color !important;
background-color: rgba(0,0,0,0) !important;
border-color: $text-color !important;
a {
color: $text-color;
}
&:hover {
border-color: black !important;
}
}
button#faq-button {
margin: 50px 0 30px 0;
}
#get-involved {
margin: 20px 0;
>.hero-body {
margin: 20px 0;
}
p {
line-height: 1 !important;
}
p:not(:last-child) {
padding-bottom: 20px;
}
}
#community-project {
font-family: "lora";
}
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;
p {
font-weight: 300;
}
2021-03-29 20:59:03 +00:00
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;
}
.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-30 21:50:36 +00:00
footer .content a {
color: $white;
}
// 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) ;
}
}