123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583 |
- /*
- Theme Name: Altofocus
- Description: Used to style Gutenberg Blocks in the editor.
- */
- /*--------------------------------------------------------------
- >>> TABLE OF CONTENTS:
- ----------------------------------------------------------------
- 1.0 General Typography
- 2.0 General Block Styles
- 3.0 Blocks - Common Blocks
- 4.0 Blocks - Formatting
- 5.0 Blocks - Layout Elements
- 6.0 Blocks - Widgets
- 7.0 Blocks - Animations
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- 1.0 General Typography
- --------------------------------------------------------------*/
- .edit-post-visual-editor .editor-block-list__block,
- .editor-default-block-appender textarea.editor-default-block-appender__content {
- font-size: 13.875px;
- font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
- font-weight: 300;
- line-height: 1.75em;
- }
- .edit-post-visual-editor .editor-block-list__block {
- color: #111;
- }
- .edit-post-visual-editor .editor-block-list__block p {
- font-size: 13.875px;
- }
- .edit-post-visual-editor .editor-block-list__block p:not(:last-child) {
- margin-bottom: 1.75em
- }
- .editor-post-title__block .editor-post-title__input {
- font-size: 19.6875px;
- font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
- font-weight: 300;
- line-height: 1.25;
- }
- .wp-block-heading h1,
- .wp-block-heading h2,
- .wp-block-heading h3,
- .wp-block-heading h4,
- .wp-block-heading h5,
- .wp-block-heading h6,
- .wp-block-freeform.block-library-rich-text__tinymce h1,
- .wp-block-freeform.block-library-rich-text__tinymce h2,
- .wp-block-freeform.block-library-rich-text__tinymce h3,
- .wp-block-freeform.block-library-rich-text__tinymce h4,
- .wp-block-freeform.block-library-rich-text__tinymce h5,
- .wp-block-freeform.block-library-rich-text__tinymce h6 {
- clear: both;
- }
- .wp-block-heading h1,
- .wp-block-freeform.block-library-rich-text__tinymce h1 {
- font-size: 30px;
- }
- .wp-block-heading h2,
- .wp-block-freeform.block-library-rich-text__tinymce h2 {
- font-size: 22px;
- }
- .wp-block-heading h3,
- .wp-block-freeform.block-library-rich-text__tinymce h3 {
- font-size: 17px;
- }
- .wp-block-heading h4,
- .wp-block-freeform.block-library-rich-text__tinymce h4 {
- font-size: 15px;
- }
- .wp-block-heading h5,
- .wp-block-freeform.block-library-rich-text__tinymce h5 {
- font-size: 12px;
- }
- .wp-block-heading h6,
- .wp-block-freeform.block-library-rich-text__tinymce h6 {
- font-size: 10px;
- }
- @media screen and (min-width: 37.5em) {
- .edit-post-visual-editor .editor-block-list__block,
- .edit-post-visual-editor .editor-block-list__block p,
- .editor-default-block-appender textarea.editor-default-block-appender__content {
- font-size: 16.875px;
- }
- .editor-post-title__block .editor-post-title__input {
- font-size: 37.5px;
- }
- .wp-block-heading h1,
- .wp-block-freeform.block-library-rich-text__tinymce h1 {
- font-size: 36px;
- }
- .wp-block-heading h2,
- .wp-block-freeform.block-library-rich-text__tinymce h2 {
- font-size: 27px;
- }
- .wp-block-heading h3,
- .wp-block-freeform.block-library-rich-text__tinymce h3 {
- font-size: 21px;
- }
- .wp-block-heading h4,
- .wp-block-freeform.block-library-rich-text__tinymce h4 {
- font-size: 18px;
- }
- .wp-block-heading h5,
- .wp-block-freeform.block-library-rich-text__tinymce h5 {
- font-size: 15px;
- }
- .wp-block-heading h6,
- .wp-block-freeform.block-library-rich-text__tinymce h6 {
- font-size: 12px;
- }
- }
- /*--------------------------------------------------------------
- 2.0 General Block Styles
- --------------------------------------------------------------*/
- /* Main column width */
- .wp-block {
- max-width: 777px; /* 747px + 30px for padding; should be 840px for pages */
- }
- /* Alignments */
- .alignleft {
- margin-right: 1.5em;
- }
- .alignright {
- margin-left: 1.5em;
- }
- /* Link styles */
- .edit-post-visual-editor a,
- .editor-block-list__block a,
- .wp-block-freeform.block-library-rich-text__tinymce a {
- color: #e38900;
- text-decoration: none;
- }
- /* Caption styles */
- [class^="wp-block-"] figcaption {
- color: inherit;
- font-size: inherit;
- }
- /* Blockquote styles */
- .wp-block-freeform.block-library-rich-text__tinymce blockquote {
- border: 0;
- }
- .wp-block-freeform.block-library-rich-text__tinymce cite {
- color: #888;
- }
- .wp-block-freeform.block-library-rich-text__tinymce cite:before {
- content: "\2014";
- }
- /* List styles */
- .wp-block-freeform.block-library-rich-text__tinymce ol {
- list-style: decimal;
- margin-left: 1.5em;
- padding: 0;
- }
- .wp-block-freeform.block-library-rich-text__tinymce li > ol {
- margin-left: 1.5em;
- }
- /* Table styles */
- .wp-block-freeform.block-library-rich-text__tinymce table {
- border-collapse: collapse;
- border: 0;
- border-top: 1px solid rgba(0, 0, 0, 0.2);
- margin: 0 0 1.75em;
- width: 100%;
- }
- .wp-block-freeform.block-library-rich-text__tinymce table th,
- .wp-block-freeform.block-library-rich-text__tinymce table td {
- border: 0;
- border-bottom: 1px solid rgba(0, 0, 0, 0.2);
- padding: 12.5px;
- }
- /* Definition List styles */
- .wp-block-freeform.block-library-rich-text__tinymce dt {
- font-weight: bold;
- }
- /* Pre */
- .wp-block-freeform.block-library-rich-text__tinymce pre {
- background-color: #eee;
- padding: 1.6em;
- }
- /* Address */
- .wp-block-freeform.block-library-rich-text__tinymce address {
- margin-bottom: 1.5em;
- }
- /* Definition List styles */
- .wp-block-freeform.block-library-rich-text__tinymce dt {
- font-weight: bold;
- }
- .wp-block-freeform.block-library-rich-text__tinymce dd {
- margin: 0 1.5em 1.5em;
- }
- /* Code styles */
- .wp-block-freeform.block-library-rich-text__tinymce code,
- .wp-block-freeform.block-library-rich-text__tinymce kbd,
- .wp-block-freeform.block-library-rich-text__tinymce tt,
- .wp-block-freeform.block-library-rich-text__tinymce var {
- background: transparent;
- font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
- font-size: 14.0625px;
- }
- /* Mark, Ins styles */
- .wp-block-freeform.block-library-rich-text__tinymce mark,
- .wp-block-freeform.block-library-rich-text__tinymce ins {
- background: #fff9c0;
- text-decoration: none;
- }
- /*--------------------------------------------------------------
- 3.0 Blocks - Common Blocks
- --------------------------------------------------------------*/
- /* Paragraph */
- p.has-drop-cap:not(:focus)::first-letter {
- font-size: 5em;
- }
- /* List */
- .edit-post-visual-editor ul:not(.wp-block-gallery),
- .editor-block-list__block ul:not(.wp-block-gallery),
- .block-library-list ul {
- list-style: disc;
- }
- .edit-post-visual-editor ol,
- .editor-block-list__block ol,
- .block-library-list ol.editor-rich-text__tinymce {
- list-style: decimal;
- }
- .edit-post-visual-editor ul:not(.wp-block-gallery) li > ul,
- .editor-block-list__block ul:not(.wp-block-gallery) li > ul,
- .block-library-list li > ul,
- .edit-post-visual-editor li > ol,
- .editor-block-list__block li > ol,
- .block-library-list li > ol {
- margin-bottom: 0;
- margin-left: 1.5em;
- }
- .rtl .edit-post-visual-editor ul:not(.wp-block-gallery),
- .rtl .editor-block-list__block ul:not(.wp-block-gallery),
- .rtl .block-library-list ul,
- .rtl .edit-post-visual-editor ol,
- .rtl .editor-block-list__block ol,
- .rtl .block-library-list ol.editor-rich-text__tinymce {
- margin-left: 0;
- margin-right: 1.5em;
- padding: 0;
- }
- /* Quote */
- .wp-block-quote:not(.is-large):not(.is-style-large) {
- border: 0;
- margin: 0 25px;
- padding: 0;
- }
- .wp-block-quote .wp-block-quote__citation {
- color: #888;
- font-size: inherit;
- font-style: italic;
- }
- .wp-block-quote .wp-block-quote__citation:before{
- content: "\2014";
- }
- .wp-block-quote.is-large p,
- .wp-block-quote.is-style-large p {
- font-size: 24px;
- font-style: normal;
- line-height: 1.6;
- }
- /* Cover */
- .edit-post-visual-editor .editor-block-list__block p.wp-block-cover-text {
- font-size: 24px;
- }
- /* File */
- .wp-block-file .wp-block-file__textlink {
- color: #e38900;
- }
- .wp-block-file .wp-block-file__button {
- -webkit-border-radius: 30px;
- -moz-border-radius: 30px;
- border-radius: 30px;
- background: #fff;
- border: 1px solid;
- border-color: rgba(0, 0, 0, 0.2);
- box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.25);
- color: #111111;
- display: inline-block;
- font-family: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 13.875px;
- font-size: 0.925rem;
- font-weight: 300;
- line-height: 1;
- outline: none;
- padding: 1em 25px;
- text-transform: uppercase;
- word-break: break-word;
- }
- /*--------------------------------------------------------------
- 4.0 Blocks - Formatting
- --------------------------------------------------------------*/
- /* Verse */
- .wp-block-verse pre {
- font-style: italic;
- padding: 0;
- }
- /* Code */
- .wp-block-code {
- background: #eee;
- border: 0;
- border-radius: 0;
- margin-bottom: 1.75em;
- padding: 1.6em;
- }
- .wp-block-code textarea {
- background: transparent;
- }
- /* Preformatted */
- .wp-block-preformatted {
- background: #eee;
- margin-bottom: 1.75em;
- padding: 1.6em;
- }
- .wp-block-preformatted pre {
- font-family: "Courier 10 Pitch", Courier, monospace;
- font-size: 14.0625px;
- line-height: 1.875;
- }
- /* Pullquote */
- .wp-block-pullquote {
- border: 0;
- padding: 0;
- }
- .wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
- .wp-block-pullquote.alignright blockquote > .editor-rich-text p {
- font-size: 20px;
- }
- .wp-block-pullquote .wp-block-pullquote__citation {
- color: #888;
- font-size: inherit;
- font-style: italic;
- text-transform: none;
- }
- .wp-block-pullquote .wp-block-pullquote__citation:before{
- content: "\2014";
- }
- /* Table */
- .wp-block-table {
- border-collapse: collapse;
- border-top: 1px solid rgba(0, 0, 0, 0.2);
- margin: 0 0 1.75em;
- width: 100%;
- }
- .wp-block-table th,
- .wp-block-table td {
- border: 0;
- border-bottom: 1px solid rgba(0, 0, 0, 0.2);
- padding: 12.5px;
- }
- .wp-block-table__cell-content {
- padding: 0;
- }
- /*--------------------------------------------------------------
- 5.0 Blocks - Layout Elements
- --------------------------------------------------------------*/
- /* Button */
- .wp-block-button .wp-block-button__link {
- box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.25);
- display: inline-block;
- font-family: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-size: 13.875px;
- font-size: 0.925rem;
- font-weight: 300;
- line-height: 1;
- outline: none;
- padding: 1em 25px;
- text-transform: uppercase;
- word-break: break-word;
- }
- .wp-block-button__link {
- background-color: #111;
- color: #fff;
- }
- .is-style-outline .wp-block-button__link:not(.has-text-color) {
- color: #111;
- }
- @media screen and (min-width: 37.5em) {
- .wp-block-button .wp-block-button__link {
- font-size: 15px;
- font-size: 1rem;
- }
- }
- /* Seperator */
- .wp-block-separator {
- background-color: #ccc;
- border: 0;
- height: 1px;
- }
- /*--------------------------------------------------------------
- 6.0 Blocks - Widgets
- --------------------------------------------------------------*/
- .editor-styles-wrapper .wp-block-archives ul,
- .editor-styles-wrapper .wp-block-categories ul,
- .editor-styles-wrapper .wp-block-categories ul ul,
- .editor-styles-wrapper .wp-block-latest-posts ul {
- list-style: disc;
- }
- .edit-post-visual-editor [data-align="center"] .wp-block-categories__list,
- .edit-post-visual-editor [data-align="center"] .wp-block-archives,
- .edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts {
- list-style-position: inside;
- }
- .editor-styles-wrapper .wp-block-archives li,
- .editor-styles-wrapper .wp-block-categories li,
- .editor-styles-wrapper .wp-block-latest-posts li {
- margin-bottom: 0;
- }
- .editor-styles-wrapper .wp-block-latest-posts.is-grid {
- list-style: none;
- }
- /*--------------------------------------------------------------
- 7.0 Blocks - Animations
- --------------------------------------------------------------*/
- @-webkit-keyframes bounce-reveal {
- 0%,
- 100% {
- -webkit-transform: scale(1);
- transform: scale(1);
- }
- 33% {
- -webkit-transform: scale(1.1);
- transform: scale(1.1);
- }
- 66% {
- -webkit-transform: scale(0.9);
- transform: scale(0.9);
- }
- }
- @-moz-keyframes bounce-reveal {
- 0%,
- 100% {
- -moz-transform: scale(1);
- transform: scale(1);
- }
- 33% {
- -moz-transform: scale(1.1);
- transform: scale(1.1);
- }
- 66% {
- -moz-transform: scale(0.9);
- transform: scale(0.9);
- }
- }
- @-o-keyframes bounce-reveal {
- 0%,
- 100% {
- -o-transform: scale(1);
- transform: scale(1);
- }
- 33% {
- -o-transform: scale(1.1);
- transform: scale(1.1);
- }
- 66% {
- -o-transform: scale(0.9);
- transform: scale(0.9);
- }
- }
- @keyframes bounce-reveal {
- 0%,
- 100% {
- transform: scale(1);
- }
- 33% {
- transform: scale(1.1);
- }
- 66% {
- transform: scale(0.9);
- }
- }
|