152 lines
3.0 KiB
CSS
152 lines
3.0 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);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
} |