etcskel-32m/assets/css/main.css
Cassowary Rusnov 5627884142
All checks were successful
continuous-integration/drone/push Build is passing
Fix alignment style
2022-12-06 09:40:39 -08:00

167 lines
3.1 KiB
CSS

/* 32m custom styles */
: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 !important;
margin: 0 !important;
}
body {
background-color: var(--white32m);
font-family: var(--typeface);
font-weight: var(--weight-medium);
width: 100%;
margin: 0 !important;
padding: 0 !important;
border-radius: none;
box-shadow: none;
max-width: 100%;
}
p#copyright-footer {
display: none;
}
div#page {
font-family: 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#page header#masthead {
background-color: var(--red32m);
}
body.home > div#page header#masthead {
background-color: var(--white32m);
}
body.home > div#page article header {
display: none;
}
body.home > div#page 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);
}
header#masthead {
display: flex;
}
nav#site-navigation {
margin-right: var(--lrmargin);
margin-left: auto;
}
nav#site-navigation ul#primary-menu-list {
display: flex;
}
nav#site-navigation ul#primary-menu-list li.menu-item {
margin: 1em;
list-style-type: none;
}
nav#site-navigation ul#primary-menu-list li.menu-item a,
nav#site-navigation ul#primary-menu-list li.menu-item a:hover,
nav#site-navigation ul#primary-menu-list li.menu-item a:visited {
color: var(--white32m);
text-decoration: underline;
text-transform: uppercase;
}
body.home nav#site-navigation ul#primary-menu-list li.menu-item a,
body.home nav#site-navigation ul#primary-menu-list li.menu-item a:hover,
body.home nav#site-navigation ul#primary-menu-list li.menu-item a:visited {
color: var(--red32m);
}
@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);
}
nav#site-navigation {
margin-right: var(--desktop-lrmargin);
}
}