/* *Theme Name: anirohotellight * *Description: Used to style the content editor in posts and pages. */ /***************************************************/ /* */ /* Gutenberg */ /* */ /***************************************************/ @font-face { font-family: 'fontawesome'; src: url('../fonts/css/all.min.css'); font-weight: normal; font-style: normal; } /* Main column width */ .wp-block { max-width: 880px; } /* Width of "wide" blocks */ .wp-block[data-align="wide"] { max-width: 1040px; } /* Width of "full-wide" blocks */ .wp-block[data-align="full"] { max-width: none; } .editor-post-title__block .editor-post-title__input { font-family: "Roboto", sans-serif; font-weight: normal; font-size: 35px; font-size: 2.1875rem; text-align: left; position: relative; word-break: keep-all; } pre { background: #eee; font-family: Courier, monospace; font-size: 16px; font-size: 1rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } .wp-block-table tr:first-child td { font-weight:bold; } .wp-block-latest-posts a { text-decoration: underline; outline: none; } .wp-block-latest-posts a:visited { color: #666; } .wp-block-latest-posts a:hover, .wp-block-latest-posts a:focus, .wp-block-latest-posts a:active { text-decoration: underline; } .wp-block-latest-posts a { font-size: 18px; color: #999; outline: none; } /** === Button === */ .wp-block-button .wp-block-button__link { line-height: 1.8; font-family: 'Muli', sans-serif; font-size: 0.88889em; font-weight: bold; } .is-style-squared .wp-block-button__link { border-radius: 0; } .is-style-default .wp-block-button__link { border-radius: 5px; } .is-style-outline .wp-block-button__link { border-radius: 5px; } /** === Latest Posts, Archives, Categories === */ .wp-block-archives { padding: 0; list-style-type: disc; margin: 0 0 1.5em 3em; text-align: left; } .wp-block-categories { padding: 0; list-style-type: disc; margin: 0; text-align: left; } .wp-block-archives{ padding-left: 2em; } .wp-block-latest-posts.is-grid{ padding-left: 2.5em; list-style-type:none; } .wp-block-archives li, .wp-block-categories li, .wp-block-latest-posts li { line-height: 1.5; font-size: 1.125rem; } .wp-block-archives li a, .wp-block-categories li a, .wp-block-latest-posts li a { color: #999; text-decoration: underline; } .wp-block-archives li a:visited, .wp-block-categories li a:visited, .wp-block-latest-posts li a:visited { color: #666; } //* Gallery */ .entry .entry-content .wp-block-gallery { list-style-type: none; padding-left: 0; } /***************************************************/ /* */ /* Classic editor */ /* */ /***************************************************/ /* =Body ----------------------------------------------- */ html .mceContentBody { max-width: 880px; max-width: 55rem; } body { color: #404040; color: hsl(0, 0%, 25%); font-family: 'Roboto', sans-serif; font-size: 18px; font-size: 1.125rem; line-height: 1.5; } /* =Base elements ----------------------------------------------- */ img { max-width: 100%; height: auto; } a { text-decoration: none; color: royalblue; } a:visited { color: purple; } h1, h2, h3, h4, h5, h6 { clear: right; font-weight: 900; font-family: 'Muli', sans-serif; color: #000; color: hsl(0, 0%, 0%); -ms-word-break: break-word; word-break: break-word; } h1 { font-size: 32px; font-size: 2rem; } h2 { font-size: 30px; font-size: 1.875rem; } h3 { font-size: 28px; font-size: 1.75rem; } h4 { font-size: 26px; font-size: 1.625rem; } h5 { font-size: 24px; font-size: 1.5rem; } h6 { font-size: 22px; font-size: 1.375rem; } p, ul, ol { font-size: 20px; font-size: 1.25rem; line-height: 1.6em; } /* =Blockquotes ----------------------------------------------- */ blockquote p { font-size: 28px; font-size: 1.75rem; line-height: 1.5em; } blockquote { padding: 1em 1.5em 0; margin-bottom: 1em; font-style: italic; border-top: solid 1px hsl(0, 0%, 80%); border-bottom: solid 1px hsl(0, 0%, 80%); } blockquote.alignleft { float: left; width: 50%; padding: 1em 0 0; margin-right: 1.5em; } blockquote em { font-style: normal; } blockquote cite { display: block; margin-top: 1em; margin-left: 40%; font-size: 18px; font-size: 1.8rem; font-family: 'Roboto', sans-serif; font-style: normal; line-height: 1.5em; text-align: right; } /* =Images ----------------------------------------------- */ .wp-caption { margin-bottom: 1.5em; max-width: 100%; border: none; text-align: center; background-color: #fff; padding-top: 0; margin: 10px 0; } .wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; } .wp-caption-text { text-align: center; } .gallery-caption, .wp-caption .wp-caption-text, .wp-caption-dd { padding: 0.8075em 1em; background: #e5e5e5; background: hsl(0, 0%, 90%); border-left: #fff solid 5px; border-right: #fff solid 5px; font-family: 'Muli', sans-serif; font-size: 14px; } /* Due to HTML5 galleries being activated defaul gallery styling does not apply.*/ .gallery { margin: auto 0; padding: 6px; width: 712px; } .gallery-item:hover .gallery-caption { opacity: 1; } .gallery img { display: block; } .gallery a img { border: none; height: auto; max-width: 100%; display: block; margin: 0 auto; } .gallery-item { float: left; width: auto!important; margin-right: 3.333333333%!important; margin-bottom: 30px!important; padding: 0!important; background: #333; overflow: hidden; position: relative; } .gallery-caption { background-color: hsla(0, 0%, 0%, .8); color: #fff; font-size: 12px; line-height: 1.5; margin: 0!important; border: none; max-height: 50%; opacity: 0; padding: 6px 8px; position: absolute; bottom: 0; left: 0; text-align: left; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-columns-6 .gallery-item .gallery-caption, .gallery-columns-7 .gallery-item .gallery-caption, .gallery-columns-8 .gallery-item .gallery-caption, .gallery-columns-9 .gallery-item .gallery-caption{ display: none; } /* =Alignment ----------------------------------------------- */ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; }