etcskel-32m/style.css

150 lines
2.8 KiB
CSS

/*
Theme Name: etc/skel-32m
Theme URI: https://git.autonomic.zone/cas/etcskel-32m
Description: 32m customizations to the Etc/Skel theme.
Author: Cassowary Rusnov
Author URI: http://hexinverter.cloud.aldercone.studio
Template: etcskel-main
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: accessibility-ready
Text Domain: etcskel32m
*/
@font-face {
font-family: 'Concourse OT';
font-style: normal;
font-weight: normal;
font-stretch: normal;
font-display: auto;
src: url('fonts/ConcourseOT/concourse_ot_3_book.woff2') format('woff2');
}
@font-face {
font-family: 'Concourse OT';
font-style: normal;
font-weight: bold;
font-stretch: normal;
font-display: auto;
src: url('fonts/ConcourseOT/concourse_ot_6_semibold.woff2') format('woff2');
}
:root {
--red32m: #A02827;
--white32m: #FFFFFF;
--grey32m: #ECECEC;
--lrmargin: 2vw;
--desktop-lrmargin: 25vw;
--typeface: 'Concourse OT', sans-serif;
--typeface-body: 'Concourse OT', sans-serif;
--font-weight-bold: 700;
--font-weight-medium: 400;
--font-size-large: 1.4em;
--font-size-xlarge: 1.75em;
}
html {
background: none;
padding: 0;
margin: 0;
}
body {
background-color: var(--white32m);
font-face: var(--typeface);
font-weight: var(--weight-medium);
width: 100%;
margin: 0;
padding: 0;
border-radius: none;
box-shadow: none;
max-width: 100%;
}
body.home {
background-color: var(--red32m);
padding: 0;
margin: auto;
}
body > div.site {
width: 100%;
}
body > div.site header#masthead {
background-color: var(--red32m);
}
body.home > div.site header#masthead {
background-color: var(--white32m);
}
body.home > div.site article header {
display: none;
}
body.home > div.site article div.entry-content {
color: white;
font-weight: var(--weight-bold);
font-size: var(--font-size-xlarge);
}
body.home form#search-form {
display: none;
}
h1.site-title {
display: none;
}
div.site-logo > a > img.custom-logo {
width: 10rem;
height: 10rem;
}
div.site-logo {
margin-left: var(--lrmargin);
}
div#content {
margin-left: var(--lrmargin);
margin-right: var(--lrmargin);
}
footer#colophon {
background: var(--grey32m);
margin: 0;
padding: 0;
}
footer#colophon > p {
margin-left: var(--lrmargin);
margin-right: var(--lrmargin);
}
body.home footer#colophon {
background: none;
color: var(--white32m);
}
@media (min-width: 640px) {
div.site-logo {
margin-left: var(--desktop-lrmargin);
}
div#content {
margin-left: var(--desktop-lrmargin);
margin-right: var(--desktop-lrmargin);
}
footer#colophon > p {
margin-left: var(--desktop-lrmargin);
margin-right: var(--desktop-lrmargin);
}
}