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
.photo-grid { | |
margin: 1em auto; | |
max-width: 1106px; | |
text-align: center; | |
} | |
.photo-grid li { | |
border: 5px solid white; | |
display: inline-block; | |
margin: 1em; |
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
<ul class="photo-grid"> | |
<li> | |
<a href="http://www.flickr.com/photos/anirudhkoul/3536413126/"> | |
<figure> | |
<img src="images/arcdetriomphe_sm.png" height="180" width="320" alt="Arc de Triomphe"> | |
<figcaption><p>Arc de Triomphe</p></figcaption> | |
</figure> | |
</a> | |
</li> | |
<li> |
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
table.tablepress { | |
box-shadow: 1px 1px 3px rgba(0,0,0,0.3); | |
display: block; | |
margin: auto; | |
max-width: 100%; | |
overflow-x: auto; | |
width: fit-content; | |
} | |
.tablepress thead th, |
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
/** | |
* Import Google fonts used on website | |
*/ | |
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap'); | |
/** | |
* Set default font, font size and line height to match website | |
*/ | |
html body, | |
body p, |
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 | |
$args = array( | |
'post_type' => 'patient-education', | |
'posts_per_page' => 4, | |
'post_parent' => $post->ID, | |
'orderby' => 'title', | |
'order' => 'ASC', | |
); | |
$related = new WP_Query( $args ); |
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 { | |
height: 100%; | |
overflow: hidden; | |
} | |
body { | |
height: 100%; | |
overflow: scroll; | |
} |
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 | |
/** | |
* Custom Walker | |
* | |
* @access public | |
* @since 1.0 | |
* @return void | |
*/ | |
class lflegal_walker extends Walker_Nav_Menu | |
{ |
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 class="cc_player" data-username="dbhq">Loading ...</div> | |
<div id="cc_recenttracks_dbhq" class="cc_recenttracks_list">Loading ...</div> | |
<script language="javascript" type="text/javascript" src="http://radio4.citrus3.com:2199/system/recenttracks.js"></script> | |
<script src="http://radio4.citrus3.com:2199/system/player.js" type="text/javascript"></script> |
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
<nav aria-label="<?php esc_attr_e( 'Pagination', 'my-text-domain' ); ?>"> | |
<?php echo paginate_links( array( | |
'type' => 'list', | |
'prev_next' => true, | |
'before_page_number' => '<span class="screen-reader-text">' . __( 'Page', 'my-text-domain' ) . '</span> ', | |
'prev_text' => '<i class="fas fa-angle-left"></i><span class="screen-reader-text">' . __( 'Previous page', 'my-text-domain' ) . '</span>', | |
'next_text' => '<i class="fas fa-angle-right"></i><span class="screen-reader-text">' . __( 'Next page', 'my-text-domain' ) . '</span>', | |
) ); ?> | |
</nav> |
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
/* Text meant only for screen readers. */ | |
.screen-reader-text { | |
border: 0; | |
clip: rect(1px, 1px, 1px, 1px); | |
clip-path: inset(50%); | |
height: 1px; | |
margin: -1px; | |
overflow: hidden; | |
padding: 0; | |
position: absolute !important; |
NewerOlder