This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* faux-block-editor.css v1.1 | |
* | |
* Styles to make the Classic Editor screen appear more like the Block Editor | |
* | |
* Expects the class "faux-block-editor" on any screen that should use these styles | |
*/ | |
.faux-block-editor { | |
overflow-x: hidden; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function() { | |
const questions = document.querySelectorAll( '.question-container' ); | |
let result = ''; | |
questions.forEach( ( q ) => { | |
let answerText = ''; | |
let question = q.querySelector( '.question-title-container' ).innerText.replace( '* ', '' ); | |
let answer = q.querySelector( 'label.checked' ); | |
if ( null === answer ) { | |
answer = q.querySelector( 'textarea' ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.block-container > *, /* [1] */ | |
.wp-block-group__inner-container > * { /* [2] */ | |
max-width: 46.25rem; | |
margin-left: 1.25rem; | |
margin-right: 1.25rem; | |
@media (min-width: 48.75em) { /* [3] */ | |
margin-left: auto; | |
margin-right: auto; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// we load the other CSS styles into the block editor and then override some of them here | |
// at present, the color overlay is not knocked out in the block editor | |
.is-style-knockout-text { | |
.wp-block-cover__inner-container { | |
z-index: 1; | |
} | |
.wp-block > * { | |
font-size: 160px !important; | |
font-weight: 900 !important; | |
color: transparent !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Events Navigation Bar Module Template | |
* Renders our events navigation bar used across our views | |
* | |
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/modules/bar.php | |
* | |
* $filters and $views variables are loaded in and coming from | |
* the show funcion in: lib/tribe-events-bar.class.php | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ID Link Mimetypes for Common Filetypes */ | |
a[href$=".doc"]::after { | |
content: " [DOC]"; | |
} | |
a[href$=".docx"]::after { | |
content: " [DOCX]"; | |
} | |
a[href$=".rtf"]::after { | |
content: " [RTF]"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="session-1" class="session session-1 track-1" style="grid-column: track-1; grid-row: time-0800 / time-0900;"> | |
<h3 class="session_title">Talk Title</h3> | |
<span class="session_time"> | |
<span class="session_time_start">8:00</span> | |
<span class="session_time_sep"> - </span> | |
<span class="session_time_end">9:00</span> | |
</span> | |
<span class="session_track">Track: 1</span> | |
<span class="session_author"><span class="session_author_gravatar"><img src="..."></span>Mike Rofone</span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
padding: 36px; | |
font-size: 62.5%; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} | |
body { | |
max-width: 700px; /* default $content_width */ | |
margin: 0 auto; |