From c155d9b87d20ab4879b5582707c5b107ce2a55af Mon Sep 17 00:00:00 2001 From: Carlos Bravo <37012961+cbravobernal@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:48:05 +0100 Subject: [PATCH] Correct autoformatting --- toujours/style.css | 209 +++++++++++++++++++++------------------------ 1 file changed, 97 insertions(+), 112 deletions(-) diff --git a/toujours/style.css b/toujours/style.css index 228d1a629c..a493b439b5 100644 --- a/toujours/style.css +++ b/toujours/style.css @@ -491,8 +491,8 @@ ol { list-style: decimal; } -li>ul, -li>ol { +li > ul, +li > ol { margin-bottom: 0; margin-left: 1.5em; } @@ -511,10 +511,8 @@ dd { } img { - height: auto; - /* Make sure images are scaled correctly. */ - max-width: 100%; - /* Adhere to container width. */ + height: auto; /* Make sure images are scaled correctly. */ + max-width: 100%; /* Adhere to container width. */ } table { @@ -718,8 +716,8 @@ textarea { .prev-slide:before, .next-slide:before, .menu-toggle:before, -.menu-item-has-children>a:after, -.page_item_has_children>a:after, +.menu-item-has-children > a:after, +.page_item_has_children > a:after, .post-format-label:before, .blog .format-link .entry-title a:after, .archive .format-link .entry-title a:after, @@ -815,8 +813,8 @@ a:active { color: #2590ec; } -.main-navigation .menu-item-has-children>a:after, -.main-navigation .page_item_has_children>a:after { +.main-navigation .menu-item-has-children > a:after, +.main-navigation .page_item_has_children > a:after { content: "\f431"; display: inline-block; margin-left: 5px; @@ -872,13 +870,13 @@ a:active { background-color: #f6f6f6; } -.main-navigation ul ul .menu-item-has-children>a, -.main-navigation ul ul .page_item_has_children>a { +.main-navigation ul ul .menu-item-has-children > a, +.main-navigation ul ul .page_item_has_children > a { padding-right: 30px; } -.main-navigation ul ul .menu-item-has-children>a:after, -.main-navigation ul ul .page_item_has_children>a:after { +.main-navigation ul ul .menu-item-has-children > a:after, +.main-navigation ul ul .page_item_has_children > a:after { position: absolute; right: 10px; top: 10px; @@ -897,15 +895,15 @@ a:active { display: none; } -.main-navigation ul li:hover>ul, -.main-navigation ul li.focus>ul { +.main-navigation ul li:hover > ul, +.main-navigation ul li.focus > ul { left: 50%; margin-left: -120px; opacity: 1.0; } -.main-navigation ul ul li:hover>ul, -.main-navigation ul ul li.focus>ul { +.main-navigation ul ul li:hover > ul, +.main-navigation ul ul li.focus > ul { left: 100%; margin-left: 0; } @@ -977,8 +975,7 @@ a:active { top: 5px; width: auto; z-index: 100000; - /* Above WP toolbar. */ -} + /* Above WP toolbar. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { @@ -1141,20 +1138,20 @@ a:active { padding: 0; } -.widget_archive>ul, -.widget_categories>ul, -.widget_jp_blogs_i_follow>ol, -.widget_jetpack_posts_i_like>ul, -.widget_links>ul, -.widget_meta>ul, -.widget_nav_menu>ul, -.widget_pages>ul, -.widget_recent_entries>ul, -.widget_recent_comments>ul, -.widget_rss>ul, -.widget_rss_links>ul, -.widget_top-clicks>ul, -.widget_top-posts>ul, +.widget_archive > ul, +.widget_categories > ul, +.widget_jp_blogs_i_follow > ol, +.widget_jetpack_posts_i_like > ul, +.widget_links > ul, +.widget_meta > ul, +.widget_nav_menu > ul, +.widget_pages > ul, +.widget_recent_entries > ul, +.widget_recent_comments > ul, +.widget_rss > ul, +.widget_rss_links > ul, +.widget_top-clicks > ul, +.widget_top-posts > ul, .widget.top_rated #top_posts { border-bottom: 1px solid #ddd; } @@ -1362,7 +1359,7 @@ a:active { } .widget_jetpack_posts_i_like .widgets-list-layout-links { - width: calc(100% - 60px); + width: calc( 100% - 60px ); } /* Recent Comments */ @@ -1426,7 +1423,7 @@ a:active { .widget_tag_cloud a:hover, .wp_widget_tag_cloud a:hover { - text-decoration: none; + text-decoration: none; } /* Twitter widget */ @@ -1449,8 +1446,7 @@ a:active { } iframe[src*='embed.spotify'] { - margin-bottom: 1.5em !important; - /* !important to override inline styles */ + margin-bottom: 1.5em !important; /* !important to override inline styles */ } iframe[src*='bandcamp'] { @@ -1596,11 +1592,11 @@ iframe[src*='bandcamp'] { padding: 0; } -#featured-slideshow .slideshow .slides>li { +#featured-slideshow .slideshow .slides > li { display: none; } -.no-js #featured-slideshow .slides>li:first-child { +.no-js #featured-slideshow .slides > li:first-child { display: block; } @@ -1610,8 +1606,7 @@ iframe[src*='bandcamp'] { .slideshow .slide-media { background-color: #eee; - background-size: 100% auto; - /* for IE9 */ + background-size: 100% auto; /* for IE9 */ background-size: cover; background-position: center center; height: 0; @@ -1802,7 +1797,7 @@ iframe[src*='bandcamp'] { margin: 0; } -.site-header+#tagline .wrap { +.site-header + #tagline .wrap { border-top: 0; margin-top: 0; } @@ -2001,7 +1996,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { padding-bottom: 10px; } -.entry-header+.entry-footer { +.entry-header + .entry-footer { margin-top: -31px; } @@ -2069,7 +2064,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { } .entry-footer .edit-link:first-child .sep, -.entry-footer .sep+.edit-link .sep { +.entry-footer .sep + .edit-link .sep { display: none; } @@ -2218,7 +2213,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .blog #primary .format-link .entry-title, .archive #primary .format-link .entry-title, .blog #primary .format-image .entry-title, -.archive #primary .format-image .entry-title { +.archive #primary .format-image .entry-title { font-size: 20px; font-weight: 500; padding-bottom: 0; @@ -2283,7 +2278,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { } .entry-audio .mejs-container .mejs-controls .mejs-time { - color: rgba(255, 255, 255, 0.6); + color: rgba( 255, 255, 255, 0.6 ); } .entry-content .mejs-container.mejs-audio .mejs-controls .mejs-time { @@ -2301,7 +2296,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { } .entry-audio .mejs-container .mejs-controls .mejs-button button { - color: rgba(255, 255, 255, 0.8); + color: rgba( 255, 255, 255, 0.8 ); } .entry-audio .mejs-container .mejs-controls .mejs-button button:hover { @@ -2318,11 +2313,11 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .entry-audio .mejs-controls .mejs-time-rail .mejs-time-total, .entry-audio .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba( 255, 255, 255, 0.3 ); } .entry-audio .mejs-audio .mejs-controls .mejs-time-rail .mejs-time-total { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba( 255, 255, 255, 0.3 ); } .entry-content .mejs-audio .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { @@ -2331,7 +2326,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .entry-audio .mejs-controls .mejs-time-rail .mejs-time-loaded, .entry-audio .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { - background-color: rgba(255, 255, 255, 0.3); + background-color: rgba( 255, 255, 255, 0.3 ); } .entry-content .mejs-audio .mejs-controls .mejs-time-rail .mejs-time-loaded, @@ -2435,7 +2430,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .blog #primary .format-quote .entry-title a, .archive #primary .format-quote .entry-title a, .single #primary .format-quote .entry-title a { - color: rgba(255, 255, 255, 0.7); + color: rgba( 255, 255, 255, 0.7 ); } .blog #primary .format-quote .entry-meta, @@ -2444,7 +2439,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .blog #primary .format-quote .entry-meta a, .archive #primary .format-quote .entry-meta a, .single #primary .format-quote .entry-meta a { - color: rgba(255, 255, 255, 0.6); + color: rgba( 255, 255, 255, 0.6 ); } .blog #primary .format-quote .post-format-label a, @@ -2469,7 +2464,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .blog #primary .format-quote .entry-content a, .archive #primary .format-quote .entry-content a, .single #primary .format-quote .entry-content a { - color: rgba(255, 255, 255, 0.7); + color: rgba( 255, 255, 255, 0.7 ); } .blog #primary .format-quote .entry-title a:hover, @@ -2481,14 +2476,14 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .blog #primary .format-quote .entry-content a:hover, .archive #primary .format-quote .entry-content a:hover, .single #primary .format-quote .entry-content a:hover { - color: rgba(255, 255, 255, 0.9); + color: rgba( 255, 255, 255, 0.9 ); } .blog #primary .format-quote blockquote, .archive #primary .format-quote blockquote, .single #primary .format-quote blockquote { border: 0; - color: rgba(255, 255, 255, 0.8); + color: rgba( 255, 255, 255, 0.8 ); font-size: 140%; padding: 60px 0; text-align: center; @@ -2503,7 +2498,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .blog #primary .format-quote.has-post-thumbnail:before, .archive #primary .format-quote.has-post-thumbnail:before, .single #primary .format-quote.has-post-thumbnail:before { - background: rgba(0, 0, 0, 0.6); + background: rgba( 0, 0, 0, 0.6 ); bottom: 0; content: ""; left: 0; @@ -2527,7 +2522,7 @@ body:not(.hide-featured-image-borders).single .featured-image span:after { .blog #primary .format-quote .entry-footer, .archive #primary .format-quote .entry-footer, .single #primary .format-quote .entry-footer { - border-color: rgba(255, 255, 255, 0.2); + border-color: rgba( 255, 255, 255, 0.2 ); padding-top: 20px; } @@ -2785,11 +2780,11 @@ li.comment { word-wrap: break-word; } -.comment-content>p:last-child { +.comment-content > p:last-child { margin-bottom: 0; } -.comment-content p+p.comment-likes { +.comment-content p + p.comment-likes { margin-top: -15px; } @@ -2901,7 +2896,7 @@ li.comment { .page-template-guestbook #comments .comment { float: left; padding-bottom: 30px; - width: calc(50% - 15px); + width: calc( 50% - 15px); } .page-template-guestbook #primary { @@ -3038,38 +3033,38 @@ li.comment { border-color: #444; } -#footer-widgets .widget_archive>ul, +#footer-widgets .widget_archive > ul, #footer-widgets .widget_archive li, #footer-widgets .widget_authors ul ul li, -#footer-widgets .widget_categories>ul, +#footer-widgets .widget_categories > ul, #footer-widgets .widget_categories li, #footer-widgets .widget_goodreads div[class^="gr_custom_each_container"], #footer-widgets .widget_goodreads div[class^="gr_custom_container"], -#footer-widgets .widget_jp_blogs_i_follow>ol, +#footer-widgets .widget_jp_blogs_i_follow > ol, #footer-widgets .widget_jp_blogs_i_follow li, -#footer-widgets .widget_jetpack_posts_i_like>ul, +#footer-widgets .widget_jetpack_posts_i_like > ul, #footer-widgets .widget_jetpack_posts_i_like li, -#footer-widgets .widget_links>ul, +#footer-widgets .widget_links > ul, #footer-widgets .widget_links li, -#footer-widgets .widget_meta>ul, +#footer-widgets .widget_meta > ul, #footer-widgets .widget_meta li, -#footer-widgets .widget_nav_menu>ul, +#footer-widgets .widget_nav_menu > ul, #footer-widgets .widget_nav_menu li, -#footer-widgets .widget_pages>ul, +#footer-widgets .widget_pages > ul, #footer-widgets .widget_pages li, -#footer-widgets .widget_recent_comments>ul, +#footer-widgets .widget_recent_comments > ul, #footer-widgets .widget_recent_comments li, -#footer-widgets .widget_recent_entries>ul, +#footer-widgets .widget_recent_entries > ul, #footer-widgets .widget_recent_entries li, -#footer-widgets .widget_rss>ul, +#footer-widgets .widget_rss > ul, #footer-widgets .widget_rss li, -#footer-widgets .widget_rss_links>ul, +#footer-widgets .widget_rss_links > ul, #footer-widgets .widget_rss_links li, #footer-widgets .widget.top_rated #top_posts, #footer-widgets .widget.top_rated li, -#footer-widgets .widget_top-clicks>ul, +#footer-widgets .widget_top-clicks > ul, #footer-widgets .widget_top-clicks li, -#footer-widgets .widget_top-posts>ul, +#footer-widgets .widget_top-posts > ul, #footer-widgets .widget_top-posts li, /* Non-widget specific */ #footer-widgets hr { @@ -3229,8 +3224,7 @@ until social navigation is added to Jetpack } .infinite-loader .spinner { - left: 50% !important; - /* !important to override inline styles */ + left: 50% !important; /* !important to override inline styles */ margin-left: -10px; top: 0 !important; } @@ -3241,39 +3235,35 @@ until social navigation is added to Jetpack .site-content .contact-form input[type="radio"], .site-content .contact-form input[type="checkbox"] { - margin-bottom: 6px; - margin-right: .3em; - vertical-align: middle; + margin-bottom: 6px; + margin-right: .3em; + vertical-align: middle; } - .site-content .contact-form label.checkbox, .site-content .contact-form label.checkbox-multiple, .site-content .contact-form label.radio { - font-weight: normal; - font-style: normal; - font-family: inherit; - margin-bottom: 4px; - float: none; - font-size: inherit; - text-transform: none; - letter-spacing: 0; + font-weight: normal; + font-style: normal; + font-family: inherit; + margin-bottom: 4px; + float: none; + font-size: inherit; + text-transform: none; + letter-spacing: 0; } - .site-content .contact-form label { - margin-bottom: 4px; + margin-bottom: 4px; } - -.site-content .contact-form>div { - margin-bottom: 23px; +.site-content .contact-form > div { + margin-bottom: 23px; } - .site-content .contact-form textarea, .site-content .contact-form input[type='text'], .site-content .contact-form input[type='email'], .site-content .contact-form input[type='url'], .site-content .contact-form select { - margin-bottom: 4px; - max-width: 100%; + margin-bottom: 4px; + max-width: 100%; } /*-------------------------------------------------------------- @@ -3410,7 +3400,6 @@ object { } @media only screen and (max-width: 1024px) { - /* Structure */ #page { margin: 15px; @@ -3566,8 +3555,8 @@ object { padding: 5px 15px; } - .main-navigation .menu-item-has-children>a:after, - .main-navigation .page_item_has_children>a:after { + .main-navigation .menu-item-has-children > a:after, + .main-navigation .page_item_has_children > a:after { display: none; } @@ -3582,8 +3571,8 @@ object { width: auto; } - .main-navigation ul li:hover>ul, - .main-navigation ul li.focus>ul { + .main-navigation ul li:hover > ul, + .main-navigation ul li.focus > ul { left: auto; margin-left: 0; } @@ -3681,8 +3670,7 @@ object { } .slideshow .slideshow-navigation .flex-control-nav { - display: none !important; - /* important to override inline styles */ + display: none !important; /* important to override inline styles */ } .slideshow .slideshow-navigation .prev-slide, @@ -3713,7 +3701,7 @@ object { } /* Featured trio */ - #featured-post-trio+#content .wrap { + #featured-post-trio + #content .wrap { padding-top: 0; } @@ -3753,7 +3741,7 @@ object { display: block; } - #featured-post-trio article .post-format-label+.sep { + #featured-post-trio article .post-format-label + .sep { display: none; } @@ -3892,7 +3880,6 @@ object { display: block; width: 100%; } - /* Footer */ #footer-widgets .wrap { border: 0; @@ -3910,16 +3897,15 @@ object { width: 100%; } - #footer-widgets+#colophon { + #footer-widgets + #colophon { padding-top: 0; } #colophon { padding-bottom: 30px; } - - #colophon .wrap { - border: 0; + #colophon .wrap { + border: 0; } #social-media { @@ -3932,7 +3918,6 @@ object { } @media only screen and (max-width: 540px) { - /* Structure */ .wrap { margin-left: 15px;