commit c78d8eb467fd7fdf90dbd56015120b1a388a283b Author: Jonathan Rosenbaum Date: Sat Mar 21 18:12:39 2026 +0000 First commit diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..12e1070 --- /dev/null +++ b/functions.php @@ -0,0 +1,10 @@ +get('Version') + ); +} +add_action('wp_enqueue_scripts', 'lwvwv_enqueue_styles'); diff --git a/parts/comments.html b/parts/comments.html new file mode 100644 index 0000000..a5bc7d8 --- /dev/null +++ b/parts/comments.html @@ -0,0 +1 @@ + diff --git a/parts/footer-with-search-site-title-and-credit-line.html b/parts/footer-with-search-site-title-and-credit-line.html new file mode 100644 index 0000000..c0e2836 --- /dev/null +++ b/parts/footer-with-search-site-title-and-credit-line.html @@ -0,0 +1,47 @@ + +
+
+
+

Search

+ + +
+ + + +
+
+

Social

+ + + +
+

Facebook

+ + + +

Instagram

+ + + +

Twitter

+
+
+
+
+ + + + + + + +
+
+ + + +

Proudly powered by WordPress

+
+
+ \ No newline at end of file diff --git a/parts/footer.html b/parts/footer.html new file mode 100644 index 0000000..5a78e87 --- /dev/null +++ b/parts/footer.html @@ -0,0 +1,49 @@ + + + + + + + \ No newline at end of file diff --git a/parts/fullwidth-footer-with-background-color-and-three-columns.html b/parts/fullwidth-footer-with-background-color-and-three-columns.html new file mode 100644 index 0000000..5eb000a --- /dev/null +++ b/parts/fullwidth-footer-with-background-color-and-three-columns.html @@ -0,0 +1,59 @@ + + + \ No newline at end of file diff --git a/parts/header.html b/parts/header.html new file mode 100644 index 0000000..7a49def --- /dev/null +++ b/parts/header.html @@ -0,0 +1,11 @@ + +
+
+
+ + + +
+
+
+ \ No newline at end of file diff --git a/parts/lwvwv.html b/parts/lwvwv.html new file mode 100644 index 0000000..36356ea --- /dev/null +++ b/parts/lwvwv.html @@ -0,0 +1,41 @@ + +
+
+
+
+ + + +
+
+ + + + + + + + + +
+ + + +
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/parts/navigation-header.html b/parts/navigation-header.html new file mode 100644 index 0000000..ece3df6 --- /dev/null +++ b/parts/navigation-header.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/parts/post-meta.html b/parts/post-meta.html new file mode 100644 index 0000000..5476a76 --- /dev/null +++ b/parts/post-meta.html @@ -0,0 +1,60 @@ + + + + + +
+
+
+ + + +
+
+ + + +
+ + + +
+
+
+

+ Posted

+ + +
+ + + +
+

in

+ + +
+ + + +
+

+ by

+ + +
+
+ + + +
+
+

+ Tags:

+ + +
+
+
+
+ \ No newline at end of file diff --git a/patterns/footer.php b/patterns/footer.php new file mode 100644 index 0000000..57501cd --- /dev/null +++ b/patterns/footer.php @@ -0,0 +1,54 @@ + + + + + + + + \ No newline at end of file diff --git a/patterns/navigation.php b/patterns/navigation.php new file mode 100644 index 0000000..f63bfb8 --- /dev/null +++ b/patterns/navigation.php @@ -0,0 +1,8 @@ + + \ No newline at end of file diff --git a/patterns/navy.php b/patterns/navy.php new file mode 100644 index 0000000..841ace3 --- /dev/null +++ b/patterns/navy.php @@ -0,0 +1,10 @@ + + +
+ \ No newline at end of file diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..b977f43 --- /dev/null +++ b/readme.txt @@ -0,0 +1,38 @@ +== LWVWV == + +Contributors: Free Software PC, LLC +Requires at least: 6.9 +Tested up to: 6.9 +Requires PHP: 5.7 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + + +== Description == + +League of Women Voters of West Virginia website developed at https://git.bikeshopi.dev/bike/lwvwv-block-theme + +== Changelog == + += 1.0.0 = +* Initial release + + +== Copyright == + +LWVWV WordPress Theme, (C) 2026 Free Software PC, LLC +LWVWV is distributed under the terms of the GNU GPL. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + + +LWVWV is a child theme of Twenty Twenty-Three (https://wordpress.org/themes/twentytwentythree), (C) the WordPress team, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) + diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..f7430cc Binary files /dev/null and b/screenshot.png differ diff --git a/style.css b/style.css new file mode 100644 index 0000000..f321f9d --- /dev/null +++ b/style.css @@ -0,0 +1,132 @@ +/* +Theme Name: LWVWV +Theme URI: https://lwvwv.org +Author: Free Software PC, LLC +Author URI: https://freesoftwarepc.com +Description: League of Women Voters of West Virginia website developed at https://git.bikeshopi.dev/bike/lwvwv-block-theme +Requires at least: 6.9 +Tested up to: 6.9 +Requires PHP: 5.7 +Version: +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Template: twentytwentythree +Text Domain: lwvwv +Tags: + +.grecaptcha-badge { + visibility: hidden; +} + +.second-group { + margin-top: 0px; +} + +.stay-connected { +border-color: #e9a62a; +} + +/* POST TITLES */ + +.grecaptcha-badge { + visibility: hidden; +} + +.second-group { + margin-top: 0px; +} + +.stay-connected { +border-color: #e9a62a; +} + +/* POST TITLES */ +.wp-block-post-title { + font-size: clamp(1.5rem, 2vw, 2.25rem); +} + +.wp-block-post-title a { + font-size: 2.25rem; +} + + +.wpcf7-select { + overflow: auto; + resize: both; + height: auto; + width: 100%; +} + +@media only screen and (max-width: 450px) { + body footer .contact-stack { + align-items: center !important; + flex-wrap: nowrap; + flex-direction: column; + } +} + +.wp-block-button .wp-block-button__link.is-style-outline, .wp-block-button.is-style-outline>.wp-block-button__link { + +border-color: #e9a62a; + +} + +body > div.wp-site-blocks > div.wp-block-group.alignfull.has-text-color.has-background.is-layout-flow > div > div > a { +border-color: #e9a62a; +} + +.wp-container-2 { +margin-right: 10px; +} +body .is-layout-flex .wp-container-3 { +margin-right: 10px; +} + +.recent-articles .wp-block-query { +height: 200px; +overflow: auto +} + +/* NAVIGATION + need this for some reason for mobile to work */ +a.wp-block-navigation-item__content[rel=""] { +color: red; +} + +@media only screen and (max-width: 450px) { + #modal-14-content > ul > li.has-text-color:nth-child(n+0):nth-child(-n+6) > a { + color: #4b1a52; + font-size: large; + font-weight: 900; + } + + #modal-14-content > ul > li.wp-block-navigation-item.wp-block-navigation-link > a { + color: #e9a62a ; + font-size: large; + font-weight: 900; + } +} + +li.wp-block-navigation-item.wp-block-navigation-link > a:hover { + text-decoration: none; + background-color: #4b1a52; +} + +#modal-14-content > ul > li:nth-child(4) > ul > li.has-text-color.has-base-color.has-background.has-contrast-background-color.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu > a:hover { + text-decoration: none; + background-color: #4b1a52; +} + + #modal-14-content > ul > li.has-text-color:nth-child(n+0):nth-child(-n+6) > a { + text-decoration: none; + } + +.wp-social-link-mail a::before { + content: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23333'%20d='M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z%20M20,8.236l-8,4.882%20L4,8.236V6h16V8.236z'%3E%3C/path%3E%3C/svg%3E"); + display: inline-block; + width: 24px; + height: 24px; +} +.wp-social-link-mail svg { + display: none; +} diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..f3e07ab --- /dev/null +++ b/templates/404.html @@ -0,0 +1,7 @@ + + + +
+ + + \ No newline at end of file diff --git a/templates/archive.html b/templates/archive.html new file mode 100644 index 0000000..daf13c0 --- /dev/null +++ b/templates/archive.html @@ -0,0 +1,29 @@ + + + +
+ + +
+ + + + + + + + + + + + + + + + + +
+
+ + + \ No newline at end of file diff --git a/templates/blank.html b/templates/blank.html new file mode 100644 index 0000000..3d3bd7c --- /dev/null +++ b/templates/blank.html @@ -0,0 +1 @@ + diff --git a/templates/blog-alternative.html b/templates/blog-alternative.html new file mode 100644 index 0000000..c244088 --- /dev/null +++ b/templates/blog-alternative.html @@ -0,0 +1,19 @@ + + + +
+
+ +
+
+ + + +
+
+ +
+
+ + + \ No newline at end of file diff --git a/templates/front-page.html b/templates/front-page.html new file mode 100644 index 0000000..0ff518d --- /dev/null +++ b/templates/front-page.html @@ -0,0 +1,19 @@ + + + +
+
+

Empowering voters. Defending democracy.

+
+ + + +
+

The League of Women Voters of West Virginia is a nonprofit, nonpartisan, grassroots civic organization that encourages informed and active participation in government.

+
+
+ + + + + \ No newline at end of file diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..93f0109 --- /dev/null +++ b/templates/home.html @@ -0,0 +1,47 @@ + + + +
+

Our Blog

+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..6fe1294 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,27 @@ + + + +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..981e925 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,11 @@ + + + +
+
+ + +
+ + + \ No newline at end of file diff --git a/templates/search.html b/templates/search.html new file mode 100644 index 0000000..3999930 --- /dev/null +++ b/templates/search.html @@ -0,0 +1,38 @@ + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + +

+Sorry, but nothing matched your search terms. Please try again with some different keywords.

+ + + +
+
+ + + \ No newline at end of file diff --git a/templates/single.html b/templates/single.html new file mode 100644 index 0000000..8dcb7cf --- /dev/null +++ b/templates/single.html @@ -0,0 +1,15 @@ + + + +
+
+ +
+ + + + +
+ + + \ No newline at end of file diff --git a/theme.json b/theme.json new file mode 100644 index 0000000..32beb28 --- /dev/null +++ b/theme.json @@ -0,0 +1,125 @@ +{ + "$schema": "https://schemas.wp.org/wp/6.9/theme.json", + "version": 3, + "settings": { + "layout": { + "contentSize": "650px" + } + }, + "styles": { + "blocks": { + "core/button": { + "border": { + "bottom": { + "style": "none", + "width": "0px" + }, + "left": { + "style": "none", + "width": "0px" + }, + "right": { + "style": "none", + "width": "0px" + }, + "top": { + "style": "none", + "width": "0px" + } + }, + "css": ".wp-block-button .wp-block-button__link.is-style-outline, .wp-block-button.is-style-outline>.wp-block-button__link {\n\nborder-color: #e9a62a;\n\n}", + "typography": { + "textTransform": "none" + }, + "variations": { + "outline": { + "border": { + "radius": "0px" + } + } + } + }, + "core/buttons": { + "css": "", + "spacing": { + "blockGap": { + "left": "var(--wp--preset--spacing--70)", + "top": "0" + }, + "margin": { + "bottom": "0", + "top": "0" + } + } + }, + "core/column": { + "css": ".recent-articles .wp-block-query {\nheight: 200px;\noverflow: auto\n}" + }, + "core/group": { + "css": ".stay-connected {\nborder-color: #e9a62a;\n}\n.wp-container-18 {\n margin-top: 0px;\n}\n.wpcf7-select {\n overflow: auto;\n resize: both; \n height: auto;\n width: 100%;\n}\n\n@media only screen and (max-width: 450px) {\n body footer .contact-stack {\n align-items: center !important;\n flex-wrap: nowrap;\n flex-direction: column;\n }\n}\n" + }, + "core/navigation": { + "css": "// need this for some reason for mobile to work\na.wp-block-navigation-item__content[rel=\"\"] {\ncolor: red;\n}\n\n@media only screen and (max-width: 450px) {\n #modal-14-content > ul > li.has-text-color:nth-child(n+0):nth-child(-n+6) > a {\n color: #4b1a52;\n font-size: large;\n font-weight: 900;\n }\n\n #modal-14-content > ul > li.wp-block-navigation-item.wp-block-navigation-link > a {\n color: #e9a62a ;\n font-size: large;\n font-weight: 900;\n }\n}\n\nli.wp-block-navigation-item.wp-block-navigation-link > a:hover {\n text-decoration: none;\n background-color: #4b1a52;\n}\n\n#modal-14-content > ul > li:nth-child(4) > ul > li.has-text-color.has-base-color.has-background.has-contrast-background-color.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu > a:hover {\n text-decoration: none;\n background-color: #4b1a52;\n}\n\n #modal-14-content > ul > li.has-text-color:nth-child(n+0):nth-child(-n+6) > a {\n text-decoration: none;\n }" + }, + "core/paragraph": { + "css": ".grecaptcha-badge { visibility: hidden; }", + "spacing": { + "padding": { + "bottom": "0" + } + } + }, + "core/post-title": { + "typography": { + "fontStyle": "normal", + "fontWeight": "400" + } + }, + "core/quote": { + "css": ".wp-block-quote {\n border-left: none\n}" + }, + "core/search": { + "border": { + "bottom": { + "style": "none", + "width": "0px" + }, + "left": { + "style": "none", + "width": "0px" + }, + "radius": "0px", + "right": { + "style": "none", + "width": "0px" + }, + "top": { + "style": "none", + "width": "0px" + } + } + }, + "core/separator": { + "css": "/* IgnoreThemeCustomCSS */" + } + }, + "css": ".grecaptcha-badge { \n visibility: hidden; \n}\n\n.second-group {\n margin-top: 0px;\n}\n\n.stay-connected {\nborder-color: #e9a62a;\n}\n\n// POST TITLES\n.wp-block-post-title {\n font-size: clamp(1.5rem, 2vw, 2.25rem);\n}\n\n.wp-block-post-title a {\n font-size: 2.25rem;\n}\n\n\n.wpcf7-select {\n overflow: auto;\n resize: both; \n height: auto;\n width: 100%;\n}\n\n@media only screen and (max-width: 450px) {\n body footer .contact-stack {\n align-items: center !important;\n flex-wrap: nowrap;\n flex-direction: column;\n }\n}\n\n.wp-block-button .wp-block-button__link.is-style-outline, .wp-block-button.is-style-outline>.wp-block-button__link {\n\nborder-color: #e9a62a;\n\n}\n\nbody > div.wp-site-blocks > div.wp-block-group.alignfull.has-text-color.has-background.is-layout-flow > div > div > a {\nborder-color: #e9a62a;\n}\n\n.wp-container-2 {\nmargin-right: 10px;\n}\nbody .is-layout-flex .wp-container-3 {\nmargin-right: 10px;\n}\n\n.recent-articles .wp-block-query {\nheight: 200px;\noverflow: auto\n}\n\n// NAVIGATION\n// need this for some reason for mobile to work\na.wp-block-navigation-item__content[rel=\"\"] {\ncolor: red;\n}\n\n@media only screen and (max-width: 450px) {\n #modal-14-content > ul > li.has-text-color:nth-child(n+0):nth-child(-n+6) > a {\n color: #4b1a52;\n font-size: large;\n font-weight: 900;\n }\n\n #modal-14-content > ul > li.wp-block-navigation-item.wp-block-navigation-link > a {\n color: #e9a62a ;\n font-size: large;\n font-weight: 900;\n }\n}\n\nli.wp-block-navigation-item.wp-block-navigation-link > a:hover {\n text-decoration: none;\n background-color: #4b1a52;\n}\n\n#modal-14-content > ul > li:nth-child(4) > ul > li.has-text-color.has-base-color.has-background.has-contrast-background-color.wp-block-navigation-item.has-child.open-on-hover-click.wp-block-navigation-submenu > a:hover {\n text-decoration: none;\n background-color: #4b1a52;\n}\n\n #modal-14-content > ul > li.has-text-color:nth-child(n+0):nth-child(-n+6) > a {\n text-decoration: none;\n }\n\n.wp-social-link-mail a::before {\n content: url(\"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23333'%20d='M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z%20M20,8.236l-8,4.882%20L4,8.236V6h16V8.236z'%3E%3C/path%3E%3C/svg%3E\");\n display: inline-block;\n width: 24px;\n height: 24px;\n}\n.wp-social-link-mail svg {\n display: none;\n}\n", + "elements": { + "button": { + "color": { + "background": "var(--wp--preset--color--contrast)", + "text": "var(--wp--preset--color--base)" + } + } + }, + "spacing": { + "blockGap": "1rem", + "padding": { + "bottom": "0px", + "left": "var(--wp--preset--spacing--30)", + "right": "var(--wp--preset--spacing--30)", + "top": "0px" + } + } + } +} \ No newline at end of file