add hover underline to post titles on home page

This commit is contained in:
Aadil Ayub 2024-06-13 11:52:41 +05:00
parent d243a7a2e5
commit 289ebea30b

View File

@ -1,4 +1,6 @@
{ {
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json",
"settings": { "settings": {
"appearanceTools": true, "appearanceTools": true,
"color": { "color": {
@ -65,7 +67,6 @@
"wideSize": "1760px" "wideSize": "1760px"
}, },
"typography": { "typography": {
"defaultFontSizes": false,
"fontFamilies": [ "fontFamilies": [
{ {
"fontFace": [ "fontFace": [
@ -636,7 +637,7 @@
} }
} }
}, },
"css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}\n\n.main-header-nav .wp-block-navigation-item:last-of-type {\n border-right: 0;\n}\n\nnav.wp-block-navigation.mobile-header-nav {\n border-top: 1px solid;\n border-bottom: 1px solid;\n padding-block: 15px\n}\n\nul.wp-block-navigation.mobile-header-nav li {\n font-size: 40px !important;\n margin-block: .5em;\n}\n\n@media (min-width: 1080px) {\n .wp-block-column.footer-gradient-column {\n padding-left: 2rem !important;\n border-left: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}\n\n@media (max-width: 786px) {\n.wp-block-column.footer-gradient-column {\n padding-top: 1.5rem !important;\n border-top: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}\n\n.overlap {\n z-index: 21;\n}", "css": "figcaption.wp-element-caption {\n width: fit-content;\n margin: 0;\n padding: 8px 12px;\n}\n\n.main-header-nav .wp-block-navigation-item {\n justify-content: center;\n border: 1px solid;\n flex-grow: 1;\n border-left: 0;\n padding-block: 0.5em\n}\n\n.main-header-nav .wp-block-navigation-item:last-of-type {\n border-right: 0;\n}\n\nnav.wp-block-navigation.mobile-header-nav {\n border-top: 1px solid;\n border-bottom: 1px solid;\n padding-block: 15px\n}\n\nul.wp-block-navigation.mobile-header-nav li {\n font-size: 40px !important;\n margin-block: .5em;\n}\n\n@media (min-width: 1080px) {\n .wp-block-column.footer-gradient-column {\n padding-left: 2rem !important;\n border-left: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}\n\n@media (max-width: 786px) {\n.wp-block-column.footer-gradient-column {\n padding-top: 1.5rem !important;\n border-top: 8px solid var(--wp--preset--color--turquoise-green);\n}\n}\n\n.overlap {\n z-index: 21;\n}\n\n.home-post-item {\n height: 100% \n}\n\n.post-title a {\n text-decoration: none;\n}\n\n.post-title a:hover,\n.post-title a:focus {\n text-decoration: underline;\n}",
"elements": { "elements": {
"caption": { "caption": {
"color": { "color": {
@ -666,7 +667,5 @@
"name": "footer", "name": "footer",
"title": "Footer" "title": "Footer"
} }
], ]
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
} }