/* Theme Name: blogstar Description: Used to style Blocks. */ /*-------------------------------------------------------------- TABLE OF CONTENTS: ---------------------------------------------------------------- 1.0 General Block Styles 2.0 Blocks - Common Blocks 3.0 Blocks - Formatting 4.0 Blocks - Layout Elements 5.0 Blocks - Widgets 6.0 Blocks - footer widgets --------------------------------------------------------------*/ /* 1.0 General Block Styles */ /* Captions */ [class^="wp-block-"] figcaption { color:#636363; font-size: 12px; text-align: left; margin-bottom:24px; } /* 2.0 Blocks - Common Blocks */ /* Paragraph */ p.has-drop-cap:not(:focus)::first-letter { font-size:2rem; } .wp-block-image { margin-bottom:24px; } .wp-block-image figure { margin-bottom:16px; margin-top: 8px; } /* Gallery */ .wp-block-gallery { margin:0 0 30px; } /* Cover */ .wp-block-cover, .wp-block-cover-image { align-items: center; background-position: 50%; box-sizing: border-box; display: flex; justify-content: center; position: relative; min-height: 250px; padding:50px; } .wp-block-cover .has-background-dim:not([class*=-background-color]), .wp-block-cover-image .has-background-dim:not([class*=-background-color]), .wp-block-cover-image.has-background-dim:not([class*=-background-color]), .wp-block-cover.has-background-dim:not([class*=-background-color]) { background-color: transparent; } .wp-block-cover-image.is-light .wp-block-cover__inner-container, .wp-block-cover.is-light .wp-block-cover__inner-container a { color: #fff; text-decoration:none; } /* Audio */ .wp-block-audio { margin: 0 0 36px; display: block; width: 100%; } /* Quote */ .wp-block-quote { border-left: 6px solid; margin: 0 0 28px; padding-left: 16px; } .wp-block-quote cite, .wp-block-quote footer { color:#636363; font-size:16px; font-style: normal; position: relative; line-height:1.5; } /* File */ .wp-block-file .wp-block-file__button { background: #fff; color: #000; text-decoration: none; } .wp-block-file .wp-block-file__button:hover, .wp-block-file .wp-block-file__button:focus { background-color: #E0E0E0; } .rtl .wp-block-file *+.wp-block-file__button { margin-left: 14px; margin-right: 0; } /* 3.0 Blocks - Formatting */ /* Code */ .wp-block-code { border: 1px solid #ccc; border-radius: 4px; font-family: Menlo,Consolas,monaco,monospace; padding:8px 16px; } /* Preformatted */ .wp-block-preformatted { background: #eee; font-family: "Courier 10 Pitch", courier, monospace; line-height: 1.6; margin-bottom: 24px; max-width: 100%; overflow: auto; padding: 25px; } /* Pullquote */ .wp-block-pullquote { line-height: 1.5; border-bottom: 4px solid; border-top: 4px solid; margin-bottom: 28px; } .wp-block-pullquote blockquote, .wp-block-pullquote cite, .wp-block-pullquote p { color: inherit; font-size: 18px; } .wp-block-pullquote cite { font-family:italics; } /* Table */ .wp-block-table { margin: 0 0 16px; font-size: 16px; line-height:1.5; } .wp-block-table td, .wp-block-table th { border: 1px solid #636363; padding:8px; } /* 4.0 Blocks - Layout Elements */ /* Button */ .wp-block-button .wp-block-button__link { color: #fff; background-color: #32373c; border-radius: 9999px; box-shadow: none; text-decoration: none; font-size: 16px; cursor: pointer; } .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus { background-color:#003060; color: #fff; -webkit-box-shadow: none; box-shadow: none; } /* Separator*/ .wp-block-separator { border: none; border-bottom: 2px solid; margin-left: auto; margin-right: auto; } /* Media & Text */ .wp-block-media-text { margin-bottom: 24px; } /* widget list */ .widget_pages ul, .widget_categories ul, .widget_archive ul, .widget_recent_comments ul, .widget_meta ul { padding-left:0; margin:0; list-style:none; } .widget_pages li, .widget_categories li, .widget_archive li, .widget_recent_comments li, .widget_meta li { margin-bottom:8px; font-size:1rem; } .widget_pages li a, .widget_categories li a, .widget_archive li a, .widget_recent_comments li a, .widget_meta li a { text-decoration:none; color:var(--primary-color); } /* Latest Comments */ .wp-block-latest-comments .avatar, .wp-block-latest-comments__comment-avatar { border-radius: 24px; display: block; float: left; height: 40px; margin-right:12px; width: 40px; } .wp-block-latest-comments article { margin-bottom: 0; } .wp-block-latest-comments__comment-meta { margin-left:0; margin-bottom:8px; font-size:16px; } .wp-block-latest-comments__comment-author, .wp-block-latest-comments__comment-link { font-weight: 500; } .wp-block-latest-comments__comment-date { display: block; font-size:14px; } .wp-block-latest-comments__comment-excerpt p { font-size: 1rem; line-height: 1.5; margin:6px 0 24px; } /*rss */ .widget_block .widget_rss { margin-top:48px; } /* 6.0 footer widgets */ .footer-widgets-wrapper .wp-block-audio { margin: 0 0 35px; display: block; width: 100%; } .footer-widgets-wrapper .wp-block-code { border: 1px solid #ccc; border-radius: 4px; font-family: Menlo,Consolas,monaco,monospace; padding:16px 14px; } .footer-widgets-wrapper .wp-block-quote { border-left: 4px solid; margin: 0 0 36px; padding-left:16px; } .footer-widgets-wrapper .wp-block-table { margin: 0 0 16px; font-size: 1rem; line-height:1.5; } .footer-widgets-wrapper .wp-block-gallery { margin:0 0 30px; } .footer-widgets-wrapper .widget_tag_cloud .tagcloud a { font-size:16px !important; display: inline-block; margin-right: 5px; text-decoration:none; line-height:1.7em; border:1px solid #949494; margin:5px; padding:3px 7px; } .footer-widgets-wrapper .widget_block .widget_rss { margin:0 0 48px; }