autonomic-block-theme/style.css

229 lines
4.4 KiB
CSS
Raw Normal View History

/*
Theme Name: Autonomic Block Theme
Author: Autonomic Co-operative
Author URI: https://autonomic.zone
2023-08-29 13:00:31 +00:00
Description: Block-enabled WordPress theme for http://autonomic.zone
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.
*/
2023-01-21 12:31:45 +00:00
html, body {
height: 100%;
}
2023-08-29 12:11:33 +00:00
.wp-site-blocks {
display: flex;
flex-direction: column;
height: 100%;
}
@container (max-width: 20ch) {
.wp-site-blocks h2::before {
width: 7ch;
}
2023-01-24 07:13:48 +00:00
}
.home .wp-site-blocks h2 {
color: var(--wp--preset--color--primary)
}
2023-01-24 07:13:48 +00:00
.wp-block-navigation-item.current-menu-item {
color: var(--wp--preset--color--secondary)
}
.wp-block-navigation-item {
text-align: end;
}
2023-02-01 07:44:45 +00:00
.wp-site-blocks h2 a {
text-decoration: none;
}
.wp-site-blocks .home-flower {
margin-bottom: -90px !important;
z-index: -20;
position: relative;
2023-09-04 10:33:18 +00:00
width: 262px;
margin-left: auto;
}
.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;
}
2024-03-29 06:59:41 +00:00
.wp-block-navigation__responsive-container.is-menu-open {
padding: 1em;
}
@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;
}
2023-09-04 10:52:36 +00:00
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
}
2023-08-25 14:57:58 +00:00
.wp-site-blocks footer .autonomic-logo {
float: left !important;
margin-inline-start: 0 !important;
2023-08-25 14:57:58 +00:00
}
.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;
}
#our-values.values-list div:nth-child(2) {
border-right-width: 0 !important;
border-left-width: 0 !important;
border-block: 1px solid;
}
}
@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;
}
2023-08-25 15:51:03 +00:00
.wp-site-blocks .category-portfolio h2 {
margin-block: 40px !important;
}
2024-09-10 13:53:59 +00:00
}
/* custom styles for lumbung presentation page */
@media (max-width: 800px) {
.first-slide h1 {
font-size: 32px !important;
}
.run-up-points ul li {
font-size: 32px !important;
}
}
/* for free palestine block */
.free-palestine-banner {
color: var(--wp--preset--color--background);
font-family: Inter, sans-serif;
}
/* responsive tweaks */
.wp-block-navigation__responsive-container.is-menu-open {
padding: 1em
}
@media (max-width: 720px) {
.wp-block-group.site-container {
padding-top: 8px !important;
}
2023-01-21 16:49:55 +00:00
}