444 lines
8.7 KiB
CSS
444 lines
8.7 KiB
CSS
/*
|
|
Theme Name: Wisdom1
|
|
Description: A modern-classic Christian blog theme for "Wisdom for the Kingdom".
|
|
Version: 1.2.1
|
|
Text Domain: wisdom1
|
|
*/
|
|
|
|
/* --- 1. Base Reset & Typography --- */
|
|
body {
|
|
margin: 0;
|
|
background-color: var(--wp--preset--color--base);
|
|
color: var(--wp--preset--color--primary);
|
|
font-family: var(--wp--preset--font-family--body-font);
|
|
font-size: var(--wp--preset--font-size--body);
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.site-container {
|
|
max-width: var(--wp--style--global--wide-size);
|
|
margin: 0 auto;
|
|
padding: 0 var(--wp--preset--spacing--50);
|
|
}
|
|
|
|
/* --- 2. Header & Navigation --- */
|
|
.site-header {
|
|
padding: var(--wp--preset--spacing--30) 0;
|
|
background-color: var(--wp--preset--color--base);
|
|
}
|
|
|
|
.header-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: var(--wp--style--global--wide-size);
|
|
margin: 0 auto;
|
|
padding: 0 var(--wp--preset--spacing--50);
|
|
}
|
|
|
|
.brand-mark {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
text-decoration: none;
|
|
color: var(--wp--preset--color--primary);
|
|
}
|
|
|
|
.logo-icon {
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
border: 2px solid var(--wp--preset--color--primary);
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.site-name {
|
|
font-family: var(--wp--preset--font-family--body-font);
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.main-navigation ul {
|
|
display: flex;
|
|
gap: var(--wp--preset--spacing--50);
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.main-navigation a {
|
|
font-family: var(--wp--preset--font-family--body-font);
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: var(--wp--preset--color--primary);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.main-navigation a:hover {
|
|
color: var(--wp--preset--color--accent);
|
|
}
|
|
|
|
/* --- 3. Hero Section (Landing Page) --- */
|
|
.hero-section {
|
|
height: 80vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
background-color: var(--wp--preset--color--base);
|
|
}
|
|
|
|
.hero-headline {
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: var(--wp--preset--font-size--heading);
|
|
margin-bottom: var(--wp--preset--spacing--30);
|
|
color: var(--wp--preset--color--primary);
|
|
}
|
|
|
|
.hero-subheadline {
|
|
font-size: var(--wp--preset--font-size--subheading);
|
|
margin-bottom: var(--wp--preset--spacing--50);
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.cta-button {
|
|
display: inline-block;
|
|
padding: 15px 40px;
|
|
border: 2px solid var(--wp--preset--color--accent);
|
|
color: var(--wp--preset--color--accent);
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.cta-button:hover {
|
|
background-color: var(--wp--preset--color--accent);
|
|
color: white;
|
|
}
|
|
|
|
/* --- 4. Archive & Category Header --- */
|
|
.category-header {
|
|
background-color: var(--wp--preset--color--primary);
|
|
color: white;
|
|
padding: var(--wp--preset--spacing--70) 0;
|
|
text-align: center;
|
|
margin-bottom: var(--wp--preset--spacing--70);
|
|
}
|
|
|
|
.category-title {
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: var(--wp--preset--font-size--heading);
|
|
margin: 0;
|
|
}
|
|
|
|
.category-description {
|
|
font-size: var(--wp--preset--font-size--subheading);
|
|
margin-top: 20px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* --- 5. Insights Grid --- */
|
|
.section-header {
|
|
text-align: center;
|
|
margin: var(--wp--preset--spacing--70) 0;
|
|
}
|
|
|
|
.section-title {
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: 36px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-style: italic;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.insights-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--wp--preset--spacing--50);
|
|
margin-bottom: var(--wp--preset--spacing--90);
|
|
}
|
|
|
|
.insight-card {
|
|
background: #FFFFFF;
|
|
padding: var(--wp--preset--spacing--50);
|
|
border: 1px solid var(--wp--preset--color--border);
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
.insight-card:hover {
|
|
border-color: var(--wp--preset--color--hover);
|
|
}
|
|
|
|
.insight-card .entry-title a {
|
|
color: var(--wp--preset--color--primary);
|
|
text-decoration: none;
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: 24px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.insight-card .entry-title a:hover {
|
|
color: var(--wp--preset--color--hover);
|
|
}
|
|
|
|
.entry-meta {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
color: var(--wp--preset--color--accent);
|
|
margin-bottom: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.entry-summary {
|
|
font-size: 15px;
|
|
margin-top: 20px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* --- 6. Single Post Layout --- */
|
|
.single-post-layout {
|
|
margin-top: var(--wp--preset--spacing--70);
|
|
}
|
|
|
|
.reading-container {
|
|
max-width: 680px;
|
|
margin: 0 auto;
|
|
font-size: 20px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.single-entry-header {
|
|
text-align: center;
|
|
margin-bottom: var(--wp--preset--spacing--70);
|
|
}
|
|
|
|
.single-title {
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: 56px;
|
|
margin-top: 10px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.single-post-thumbnail {
|
|
margin-bottom: var(--wp--preset--spacing--70);
|
|
text-align: center;
|
|
}
|
|
|
|
.single-post-thumbnail img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.entry-date {
|
|
margin-left: 10px;
|
|
opacity: 0.5;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.post-navigation {
|
|
border-top: 1px solid var(--wp--preset--color--border);
|
|
margin-top: var(--wp--preset--spacing--90);
|
|
padding: var(--wp--preset--spacing--70) 0;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--wp--preset--color--primary);
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* --- 7. Newsletter Strip --- */
|
|
.newsletter-strip {
|
|
background-color: var(--wp--preset--color--primary);
|
|
color: white;
|
|
padding: var(--wp--preset--spacing--70) 0;
|
|
}
|
|
|
|
.newsletter-content {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 30px;
|
|
}
|
|
|
|
.newsletter-text {
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: 24px;
|
|
}
|
|
|
|
.newsletter-form {
|
|
display: flex;
|
|
width: 100%;
|
|
max-width: 500px;
|
|
border-bottom: 1px solid var(--wp--preset--color--accent);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.newsletter-input {
|
|
background: transparent;
|
|
border: none;
|
|
color: white;
|
|
flex-grow: 1;
|
|
padding: 10px;
|
|
}
|
|
|
|
.newsletter-submit {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--wp--preset--color--accent);
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* --- 8. Footer --- */
|
|
.site-footer {
|
|
padding: var(--wp--preset--spacing--50) 0;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
background-color: var(--wp--preset--color--base);
|
|
}
|
|
|
|
/* --- 9. Responsive --- */
|
|
@media (max-width: 900px) {
|
|
.insights-grid { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.insights-grid { grid-template-columns: 1fr; }
|
|
.hero-headline { font-size: 32px; }
|
|
.header-container { flex-direction: column; gap: 20px; }
|
|
}
|
|
|
|
/* --- 10. Comments Section --- */
|
|
.comments-area {
|
|
margin-top: var(--wp--preset--spacing--90);
|
|
border-top: 1px solid var(--wp--preset--color--border);
|
|
padding-top: var(--wp--preset--spacing--70);
|
|
}
|
|
|
|
.comments-title, .comment-reply-title {
|
|
font-family: var(--wp--preset--font-family--header-font);
|
|
font-size: 32px;
|
|
margin-bottom: var(--wp--preset--spacing--50);
|
|
}
|
|
|
|
.comment-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.comment-body {
|
|
margin-bottom: var(--wp--preset--spacing--50);
|
|
padding: var(--wp--preset--spacing--30);
|
|
background: #FFFFFF;
|
|
border: 1px solid var(--wp--preset--color--border);
|
|
}
|
|
|
|
.comment-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.comment-author img {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.fn {
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
}
|
|
|
|
.comment-metadata {
|
|
font-size: 12px;
|
|
opacity: 0.5;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.comment-content {
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.reply {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.comment-reply-link {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
color: var(--wp--preset--color--accent);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Comment Form */
|
|
#commentform {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
#commentform label {
|
|
display: block;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#commentform input[type="text"],
|
|
#commentform input[type="email"],
|
|
#commentform textarea {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid var(--wp--preset--color--border);
|
|
background: #FFFFFF;
|
|
font-family: var(--wp--preset--font-family--body-font);
|
|
}
|
|
|
|
#commentform textarea {
|
|
height: 150px;
|
|
}
|
|
|
|
#commentform .submit {
|
|
align-self: flex-start;
|
|
background-color: var(--wp--preset--color--primary);
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 30px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease;
|
|
}
|
|
|
|
#commentform .submit:hover {
|
|
background-color: var(--wp--preset--color--accent);
|
|
}
|