508 lines
9.6 KiB
CSS
508 lines
9.6 KiB
CSS
/*
|
|
Theme Name: Intergalactic 2
|
|
Description: Used to style Gutenberg 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 - Colors
|
|
--------------------------------------------------------------*/
|
|
|
|
/*--------------------------------------------------------------
|
|
1.0 General Block Styles
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Captions */
|
|
|
|
[class^="wp-block-"] figcaption {
|
|
font-size: .778em;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
2.0 Blocks - Common Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Paragraph */
|
|
|
|
p.has-drop-cap:not(:focus)::first-letter {
|
|
font-size: 124px;
|
|
}
|
|
|
|
/* Images */
|
|
|
|
.wp-block-cover,
|
|
.wp-block-cover.alignleft,
|
|
.wp-block-cover.alignright,
|
|
.wp-block-cover.aligncenter {
|
|
display: flex;
|
|
}
|
|
|
|
/* Full Width */
|
|
figure.alignfull,
|
|
.wp-block-cover.alignfull,
|
|
.wp-block-gallery.alignfull,
|
|
.wp-block-embed.is-type-video.alignfull {
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
position: relative;
|
|
left: 50%;
|
|
transform: translateX( -50% );
|
|
}
|
|
|
|
.wp-block-embed.is-type-video.alignfull iframe {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.rtl figure.alignfull,
|
|
.rtl .wp-block-cover.alignfull,
|
|
.rtl .wp-block-gallery.alignfull,
|
|
.rtl .wp-block-embed.is-type-video.alignfull {
|
|
left: auto;
|
|
right: 50%;
|
|
transform: translateX(50%);
|
|
}
|
|
|
|
/* Wide Width */
|
|
|
|
@media (min-width: 1024px) {
|
|
figure.alignwide,
|
|
.wp-block-cover.alignwide,
|
|
.wp-block-gallery.alignwide,
|
|
.wp-block-embed.is-type-video.alignwide {
|
|
width: 120%;
|
|
max-width: 120%;
|
|
margin-left: -10%;
|
|
margin-right: -10%;
|
|
position: relative;
|
|
}
|
|
|
|
.wp-block-embed.is-type-video.alignwide iframe {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
}
|
|
|
|
/* Gallery */
|
|
|
|
.wp-block-gallery {
|
|
margin-bottom: 1.5em;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.wp-block-gallery img.size-big,
|
|
.wp-block-image img.size-big {
|
|
margin: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Quote */
|
|
|
|
.wp-block-quote {
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.wp-block-quote,
|
|
.wp-block-quote.is-large p,
|
|
.wp-block-quote.is-style-large p {
|
|
}
|
|
|
|
.wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
|
|
.wp-block-quote:not(.is-large):not(.is-style-large).alignright {
|
|
}
|
|
|
|
.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignleft,
|
|
.rtl .wp-block-quote:not(.is-large):not(.is-style-large).alignright {
|
|
}
|
|
|
|
.wp-block-quote cite {
|
|
}
|
|
|
|
.wp-block-quote cite:before {
|
|
}
|
|
|
|
.wp-block-quote.is-large cite,
|
|
.wp-block-quote.is-large footer,
|
|
.wp-block-quote.is-style-large cite,
|
|
.wp-block-quote.is-style-large footer {
|
|
font-size: 80%;
|
|
}
|
|
|
|
.wp-block-quote.is-large,
|
|
.wp-block-quote.is-style-large {
|
|
}
|
|
|
|
.wp-block-quote.is-large,
|
|
.wp-block-quote.is-style-large,
|
|
.wp-block-quote.is-large p,
|
|
.wp-block-quote.is-style-large p {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.wp-block-quote.is-large p,
|
|
.wp-block-quote.is-style-large p {
|
|
margin-bottom: .8em;
|
|
}
|
|
|
|
.rtl .wp-block-quote {
|
|
border: 0;
|
|
border-right: 2px solid #e06d5e;
|
|
}
|
|
|
|
/* Audio */
|
|
|
|
.wp-block-audio audio {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
/* File */
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
border-radius: 0;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
padding: .75em;
|
|
|
|
cursor: pointer;
|
|
-webkit-transition: .3s all ease-in-out;
|
|
-moz-transition: .3s all ease-in-out;
|
|
transition: .3s all ease-in-out;
|
|
text-transform: uppercase;
|
|
|
|
color: #222;
|
|
border: 2px solid #222;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.wp-block-file .wp-block-file__button:hover,
|
|
.wp-block-file .wp-block-file__button:focus {
|
|
-webkit-transition: .3s all ease-in-out;
|
|
-moz-transition: .3s all ease-in-out;
|
|
transition: .3s all ease-in-out;
|
|
color: #fff;
|
|
border-color: #222;
|
|
background: #222;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.rtl .wp-block-file * + .wp-block-file__button {
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
3.0 Blocks - Formatting Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Verse */
|
|
|
|
.wp-block-verse {
|
|
background: transparent;
|
|
color: inherit;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
margin-bottom: 1.5em;
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Code */
|
|
|
|
.wp-block-code {
|
|
font-family: 'Courier 10 Pitch', Courier, monospace;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
|
|
overflow: auto;
|
|
|
|
max-width: 100%;
|
|
margin-bottom: 1.6em;
|
|
padding: 1.6em;
|
|
|
|
background: #eee;
|
|
}
|
|
|
|
/* Pullquote */
|
|
|
|
.wp-block-pullquote {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.wp-block-pullquote blockquote {
|
|
}
|
|
|
|
@media screen and (max-width: 767px) {
|
|
.wp-block-pullquote blockquote {
|
|
}
|
|
}
|
|
|
|
.wp-block-pullquote.alignfull blockquote {
|
|
padding-left: 1.5em;
|
|
padding-right: 1.5em;
|
|
}
|
|
|
|
.rtl .wp-block-pullquote {
|
|
}
|
|
|
|
.wp-block-pullquote p {
|
|
margin: 0;
|
|
}
|
|
|
|
.wp-block-pullquote cite {
|
|
font-size: 80%;
|
|
}
|
|
|
|
.wp-block-pullquote cite:before {
|
|
}
|
|
|
|
/* Table */
|
|
|
|
.wp-block-table,
|
|
.wp-block-table th,
|
|
.wp-block-table td {
|
|
}
|
|
|
|
.wp-block-table {
|
|
}
|
|
|
|
.wp-block-table th,
|
|
.wp-block-table td {
|
|
}
|
|
|
|
.wp-block-table th {
|
|
}
|
|
|
|
.wp-block-table td {
|
|
}
|
|
|
|
.rtl .wp-block-table th,
|
|
.rtl .wp-block-table td {
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
4.0 Blocks - Layout Elements
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Buttons */
|
|
|
|
.wp-block-button .wp-block-button__link {
|
|
border-radius: 0;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
padding: .75em;
|
|
cursor: pointer;
|
|
-webkit-transition: .3s all ease-in-out;
|
|
-moz-transition: .3s all ease-in-out;
|
|
transition: .3s all ease-in-out;
|
|
text-transform: uppercase;
|
|
border: 2px solid currentColor;
|
|
box-shadow: none;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:active,
|
|
.wp-block-button .wp-block-button__link:hover,
|
|
.wp-block-button .wp-block-button__link:focus {
|
|
}
|
|
|
|
.wp-block-button__link:not(.has-background) {
|
|
background: transparent;
|
|
border: 2px solid #222;
|
|
}
|
|
|
|
.wp-block-button__link:not(.has-background):focus {
|
|
border-color: #222;
|
|
background: #222;
|
|
}
|
|
|
|
.wp-block-button__link:not(.has-text-color) {
|
|
color: #222;
|
|
}
|
|
|
|
.wp-block-button__link:not(.has-text-color):active,
|
|
.wp-block-button__link:not(.has-text-color):focus,
|
|
.wp-block-button__link:not(.has-text-color):hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.wp-block-button__link:not(.has-background):active,
|
|
.wp-block-button__link:not(.has-background):focus,
|
|
.wp-block-button__link:not(.has-background):hover {
|
|
background: #222;
|
|
border: 2px solid #222;
|
|
}
|
|
|
|
/* Seperator */
|
|
|
|
hr.wp-block-separator {
|
|
border: 0;
|
|
}
|
|
|
|
.wp-block-separator {
|
|
height: 1px;
|
|
margin-bottom: 1.5em;
|
|
border: 0;
|
|
background-color: #ccc;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.wp-block-separator.is-style-wide {
|
|
max-width: 120%;
|
|
margin-left: -10%;
|
|
margin-right: -10%;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
5.0 Blocks - Widget Blocks
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Categories */
|
|
|
|
.wp-block-categories.aligncenter {
|
|
margin-left: 1.5em;
|
|
margin-right: 1.5em;
|
|
text-align: center;
|
|
}
|
|
|
|
.wp-block-categories-list.alignleft {
|
|
margin-left: 1.5em;
|
|
}
|
|
|
|
/* Latest Comments */
|
|
|
|
.editor-block-list__block .wp-block-latest-comments__comment-meta a {
|
|
box-shadow: none;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-date {
|
|
}
|
|
|
|
.wp-block-latest-comments .wp-block-latest-comments__comment {
|
|
border-top: 1px solid #ccc;
|
|
margin-bottom: 0;
|
|
padding: .75em 0;
|
|
}
|
|
|
|
.wp-block-latest-comments__comment-excerpt p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/*--------------------------------------------------------------
|
|
6.0 Blocks - Colors
|
|
--------------------------------------------------------------*/
|
|
|
|
.has-dark-gray-color,
|
|
.has-dark-gray-color:hover,
|
|
.has-dark-gray-color:focus,
|
|
.has-dark-gray-color:active {
|
|
color: #464d4d;
|
|
}
|
|
|
|
.has-dark-gray-background-color,
|
|
.has-dark-gray-background-color:hover,
|
|
.has-dark-gray-background-color:focus,
|
|
.has-dark-gray-background-color:active {
|
|
background-color: #464d4d;
|
|
}
|
|
|
|
.has-medium-gray-color,
|
|
.has-medium-gray-color:hover,
|
|
.has-medium-gray-color:focus,
|
|
.has-medium-gray-color:active {
|
|
color: #7f8d8c;
|
|
}
|
|
|
|
.has-medium-gray-background-color,
|
|
.has-medium-gray-background-color:hover,
|
|
.has-medium-gray-background-color:focus,
|
|
.has-medium-gray-background-color:active {
|
|
background-color: #7f8d8c;
|
|
}
|
|
|
|
.has-light-gray-color,
|
|
.has-light-gray-color:hover,
|
|
.has-light-gray-color:focus,
|
|
.has-light-gray-color:active {
|
|
color: #f1f2f3;
|
|
}
|
|
|
|
.has-light-gray-background-color,
|
|
.has-light-gray-background-color:hover,
|
|
.has-light-gray-background-color:focus,
|
|
.has-light-gray-background-color:active {
|
|
background-color: #f1f2f3;
|
|
}
|
|
|
|
.has-white-color,
|
|
.has-white-color:hover,
|
|
.has-white-color:focus,
|
|
.has-white-color:active {
|
|
color: #fff;
|
|
}
|
|
|
|
.has-white-background-color,
|
|
.has-white-background-color:hover,
|
|
.has-white-background-color:focus,
|
|
.has-white-background-color:active {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.has-red-color,
|
|
.has-red-color:hover,
|
|
.has-red-color:focus,
|
|
.has-red-color:active {
|
|
color: #e06d5e;
|
|
}
|
|
|
|
.has-red-background-color,
|
|
.has-red-background-color:hover,
|
|
.has-red-background-color:focus,
|
|
.has-red-background-color:active {
|
|
background-color: #e06d5e;
|
|
}
|
|
|
|
.has-dark-red-color,
|
|
.has-dark-red-color:hover,
|
|
.has-dark-red-color:focus,
|
|
.has-dark-red-color:active {
|
|
color: #b44738;
|
|
}
|
|
|
|
.has-dark-red-background-color,
|
|
.has-dark-red-background-color:hover,
|
|
.has-dark-red-background-color:focus,
|
|
.has-dark-red-background-color:active {
|
|
background-color: #b44738;
|
|
}
|
|
|
|
.has-black-color,
|
|
.has-black-color:hover,
|
|
.has-black-color:focus,
|
|
.has-black-color:active {
|
|
color: #24282d;
|
|
}
|
|
|
|
.has-black-background-color,
|
|
.has-black-background-color:hover,
|
|
.has-black-background-color:focus,
|
|
.has-black-background-color:active {
|
|
background-color: #24282d;
|
|
}
|
|
|