Wraps all Tainacan Titles in H1 elements. Adjusts margint bottom oh title and margin left of lists.

This commit is contained in:
mateuswetah 2019-11-18 09:32:14 -03:00
parent 4864859a34
commit b49037c328
6 changed files with 22 additions and 14 deletions

View File

@ -145,10 +145,13 @@
height: 4px;
}
}
ul {
&>ul {
font-size: 1rem;
font-weight: 400;
color: #000;
margin-left: 1.75rem;
}
.wp-block-media-text__content>ul {
margin-left: 1.75rem;
}
.table {
thead {

View File

@ -749,9 +749,12 @@ nav{
.tainacan-title{
.tainacan-title-page{
.title-page{
margin-bottom: 0.75rem;
.title-page h1{
font-size: 1.25rem;
font-weight: bold;
word-break: break-word;
margin: 0;
@media only screen and (max-width: 576px){
width: 85%;
overflow: hidden;
@ -767,7 +770,7 @@ nav{
size: 0.875rem;
weight: 400;
}
margin-top: 0.5rem;
margin-top: 0.25rem;
}
}
}

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1">
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
<?php the_title(); ?>
<h1><?php the_title(); ?></h1>
</li>
<li class="list-inline-item float-right title-back">
<a href="javascript:history.go(-1)"><?php _e( 'Back', 'tainacan-interface' ); ?></a>

View File

@ -5,7 +5,7 @@
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1">
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
<?php the_title(); ?>
<h1><?php the_title(); ?></h1>
</li>
<li class="list-inline-item float-right title-back"><a href="javascript:history.go(-1)"><?php _e( 'Back', 'tainacan-interface' ); ?></a></li>
</ul>

View File

@ -1,20 +1,22 @@
<?php if ( have_posts() ) : ?>
<div class="tainacan-title">
<div class="border-bottom border-jelly-bean tainacan-title-page">
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
<ul class="list-inline mb-1 d-flex">
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
<h1>
<?php if ( is_home() ) {
if ( get_option( 'page_for_posts' ) ) :
echo get_the_title( get_option( 'page_for_posts' ) );
else :
_e( 'Blog Posts', 'tainacan-interface' );
endif;
} elseif ( is_search() ) {
_e( 'Search Results for', 'tainacan-interface' );
echo ' "' , get_search_query(), '"';
} elseif ( is_archive() ) {
echo ' ' . get_the_archive_title();
} ?>
} elseif ( is_search() ) {
_e( 'Search Results for', 'tainacan-interface' );
echo ' "' , get_search_query(), '"';
} elseif ( is_archive() ) {
echo ' ' . get_the_archive_title();
} ?>
</h1>
</li>
<li class="list-inline-item float-right title-back align-self-end ml-auto"><a href="javascript:history.go(-1)"><?php _e( 'Back', 'tainacan-interface' ); ?></a></li>
</ul>