74 lines
1.7 KiB
CSS
74 lines
1.7 KiB
CSS
/*
|
|
Theme Name: Twenty Twenty-Five Retro
|
|
Theme URI: https://flatlogic.com/
|
|
Description: A retro 70s modern child theme for Twenty Twenty-Five.
|
|
Author: Flatlogic Gemini
|
|
Author URI: https://flatlogic.com/
|
|
Template: twentytwentyfive
|
|
Version: 1.0.0
|
|
License: GNU General Public License v2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
*/
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Outfit:wght@100..900&display=swap');
|
|
|
|
/* Custom CSS for 70s Retro Style */
|
|
|
|
/* Subtle grain texture effect */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
background: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
|
|
opacity: 0.05;
|
|
z-index: 9999;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
text-transform: capitalize;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.wp-block-query-title {
|
|
font-size: clamp(2.5rem, 8vw, 4rem);
|
|
font-weight: 900;
|
|
}
|
|
|
|
.wp-block-post-title {
|
|
font-weight: 800;
|
|
}
|
|
|
|
/* Rounded corners for everything */
|
|
img, .wp-block-button__link, .wp-block-query {
|
|
border-radius: 24px !important;
|
|
}
|
|
|
|
/* Thick borders for a retro feel */
|
|
.wp-block-post-featured-image img {
|
|
border: 6px solid #5e3023;
|
|
box-shadow: 12px 12px 0px #e3b448;
|
|
}
|
|
|
|
.wp-block-query {
|
|
padding: 40px;
|
|
background: #fdf5e6;
|
|
border: 4px double #5e3023;
|
|
}
|
|
|
|
.wp-block-button__link {
|
|
border: 2px solid #5e3023 !important;
|
|
box-shadow: 4px 4px 0px #5e3023;
|
|
transition: all 0.2s ease;
|
|
padding: 15px 30px !important;
|
|
font-weight: 800 !important;
|
|
}
|
|
|
|
.wp-block-button__link:hover {
|
|
transform: translate(-2px, -2px);
|
|
box-shadow: 6px 6px 0px #5e3023;
|
|
}
|