259 lines
4.9 KiB
CSS
259 lines
4.9 KiB
CSS
/*
|
|
Theme Name: Autonomic
|
|
Author: Autonomic Co-operative
|
|
Author URI: https://autonomic.zone
|
|
Theme URI:
|
|
Tags: full-site-editing
|
|
Text Domain: autonomic
|
|
Requires at least: 6.0
|
|
Requires PHP: 7.4
|
|
Tested up to: 6.0
|
|
Version: 1.0.0
|
|
|
|
License: GNU General Public License v2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
All files, unless otherwise stated, are released under the GNU General Public
|
|
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
|
|
|
|
This theme, like WordPress, is licensed under the GPL.
|
|
Use it to make something cool, have fun, and share what you've learned
|
|
with others.
|
|
*/
|
|
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
.wp-site-blocks{
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.wp-site-blocks h2 {
|
|
display: flex;
|
|
height: 36px;
|
|
align-items: center;
|
|
border-top: 1px solid;
|
|
}
|
|
|
|
|
|
.wp-site-blocks h2::before {
|
|
content: "";
|
|
border-bottom: 1px solid;
|
|
border-right: 1px solid;
|
|
width: 80px;
|
|
margin-right: 8px;
|
|
height: 36px;
|
|
border-top: 2px solid var(--wp--preset--color--background);
|
|
}
|
|
|
|
.wp-site-blocks h2::after {
|
|
content: "";
|
|
border-bottom: 1px solid;
|
|
flex-grow: 1;
|
|
margin-left: 8px;
|
|
height: 36px;
|
|
border-left: 1px solid;
|
|
border-top: 2px solid var(--wp--preset--color--background);
|
|
}
|
|
|
|
.wp-site-blocks h2.blog-post-heading {
|
|
border-top: none;
|
|
height: revert;
|
|
container-type: inline-size;
|
|
}
|
|
|
|
@container (max-width: 20ch) {
|
|
.wp-site-blocks h2::before {
|
|
width: 7ch;
|
|
}
|
|
}
|
|
|
|
.wp-site-blocks h2.blog-post-heading::before {
|
|
content: "##";
|
|
border-bottom: none;
|
|
border-right: none;
|
|
width: 4ch;
|
|
margin-right: 0;
|
|
height: revert;
|
|
border-top: none;
|
|
font-family: monospace;
|
|
margin-inline-end: .3em;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.wp-site-blocks h2.blog-post-heading::after {
|
|
content: none;
|
|
border-bottom: none;
|
|
flex-grow: 1;
|
|
margin-left: 0;
|
|
height: revert;
|
|
border-left: none;
|
|
border-top: none;
|
|
}
|
|
|
|
.home .wp-site-blocks ul {
|
|
list-style-image: url('https://beta.autonomic.zone/wp-content/uploads/2023/01/arrow.png');
|
|
}
|
|
|
|
.home .wp-site-blocks h2 {
|
|
color: var(--wp--preset--color--primary)
|
|
}
|
|
|
|
.wp-block-navigation-item.current-menu-item {
|
|
color: var(--wp--preset--color--secondary)
|
|
}
|
|
|
|
.wp-block-navigation-item {
|
|
text-align: end;
|
|
}
|
|
|
|
.wp-site-blocks h2 a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-site-blocks .home-flower {
|
|
margin-bottom: -90px !important;
|
|
z-index: -20;
|
|
position: relative;
|
|
}
|
|
|
|
.wp-site-blocks footer {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.wp-site-blocks .footer {
|
|
height: 100%;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo-wrapper {
|
|
width: 32px;
|
|
}
|
|
|
|
.wp-site-blocks .wp-block-group:nth-child(1) .nav-menu {
|
|
padding-top: 0 !important;
|
|
}
|
|
|
|
.wp-site-blocks .wp-block-group:nth-child(1) .logo-wrapper {
|
|
padding-top: 0 !important;
|
|
}
|
|
|
|
@media screen and (max-width: 782px){
|
|
.nav-menu {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.wp-site-blocks .wp-block-group:nth-child(1) {
|
|
padding-top: 24px !important;
|
|
}
|
|
|
|
ul#what-we-offer {
|
|
padding-left: revert !important;
|
|
}
|
|
|
|
.home .wp-site-blocks h2 {
|
|
margin-top: 60px;
|
|
}
|
|
|
|
.home .wp-site-blocks h1.wp-block-heading {
|
|
margin-top: 28px !important;
|
|
}
|
|
|
|
#our-values.values-list {
|
|
margin-block: 75px
|
|
}
|
|
|
|
.wp-site-blocks footer .autonomic-logo {
|
|
float: left !important;
|
|
margin-inline-start: 0 !important;
|
|
}
|
|
|
|
.services-heading {
|
|
text-align: left;
|
|
border-bottom: 2px dotted;
|
|
padding: 0;
|
|
width: fit-content;
|
|
margin-inline-start: var(--wp--preset--spacing--40);
|
|
line-height: 1.5 !important;
|
|
margin-top: 40px !important;
|
|
}
|
|
|
|
.wp-site-blocks h2.blog-post-heading::before {
|
|
margin-inline-start: 1em;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 600px){
|
|
.nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
|
|
display: none;
|
|
}
|
|
|
|
.nav-menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
|
|
display: inherit;
|
|
}
|
|
}
|
|
|
|
/* copied over from "additional css" panel in wp
|
|
TODO: integrate this with the rest of the css
|
|
*/
|
|
@media screen and (max-width: 600px) {
|
|
.home-flower {
|
|
display: none;
|
|
}
|
|
.wp-container-13 .wp-block-group {
|
|
padding-top: 0 !important;
|
|
}
|
|
|
|
h1, p {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.footer {
|
|
padding-inline: 1rem;
|
|
}
|
|
|
|
.footer p {
|
|
padding: 0;
|
|
}
|
|
|
|
.wp-site-blocks .wp-block-group:nth-child(1) {
|
|
padding-top: 24px !important;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 782px){
|
|
.nav-menu {
|
|
display: block;
|
|
padding-right: 30%;
|
|
}
|
|
.nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
|
|
display: block;
|
|
}
|
|
|
|
.nav-menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
|
|
display: none;
|
|
}
|
|
|
|
.logo-wrapper {
|
|
padding-bottom: 88px;
|
|
width: inherit;
|
|
}
|
|
|
|
.wp-site-blocks .category-portfolio h2 {
|
|
margin-block: 40px !important;
|
|
}
|
|
|
|
.wp-site-blocks h2.blog-post-heading {
|
|
margin-top: 4em;
|
|
font-size: var(--wp--preset--font-size--medium);
|
|
}
|
|
} |