Removes unecessary font weights for roboto import. Css adjustment to header and comments.

This commit is contained in:
Mateus Machado Luna 2019-10-24 16:49:51 -03:00
parent 7493c54cb3
commit ff72a4dcdd
6 changed files with 6 additions and 16 deletions

View File

@ -14,16 +14,6 @@
color: #898d8f;
}
.form-row{
@media only screen and (min-width: 768px){
.form-row--avartar {
flex: 0 0 5.333333%;
max-width: 5.333333%;
}
.form-row--textarea {
flex: 0 0 94.666667%;
max-width: 94.666667%;
}
}
img {
width: 50px;
height: 50px;

View File

@ -444,7 +444,7 @@ nav{
}
}
.navbar--border-bottom {
border-bottom: 2px solid #ededed !important;
border-bottom: 1px solid #ededed !important;
}
.tainacan-search-form {

View File

@ -36,7 +36,7 @@ if ( post_password_required() ) {
</div>
<?php
$user_link = sprintf( '<a href="%1$s" class="font-weight-light">%2$s</a>', get_author_posts_url( $current_user->ID ), $current_user->display_name );
$user_link = sprintf( '<a href="%1$s" class="font-weight-normal">%2$s</a>', get_author_posts_url( $current_user->ID ), $current_user->display_name );
$comment_args = array(
'logged_in_as' => '<span class="text-oslo-gray authenticated d-inline d-sm-none mb-4">' .
// translators: placeholder is the user name with link to its page

View File

@ -323,7 +323,7 @@ function tainacan_editor_styles() {
wp_enqueue_style( 'tainacan-editor-style', get_template_directory_uri() . '/editor-style.css' );
// Adds Robot fonts to Gutenberg.
wp_enqueue_style( 'RobotoFonts', 'https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i' );
wp_enqueue_style( 'RobotoFonts', 'https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i' );
// Adds customizer colors to Gutenberg.
//wp_add_inline_style( 'tainacan-customizer-editor-style', tainacan_customizer_gutenberg_colors() );

View File

@ -42,7 +42,7 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) {
* Google
*/
// Google fonts Roboto
wp_enqueue_style( 'RobotoFonts', 'https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i' );
wp_enqueue_style( 'RobotoFonts', 'https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i' );
/**
* Tainacan Theme

View File

@ -404,9 +404,9 @@ msgstr "Nenhum"
#~ msgstr "Cor que irá preencher a área de cabeçalho do tema"
#~ msgid ""
#~ "Authenticated as <a href=\"%1$s\" class=\"font-weight-light\">%2$s</a>"
#~ "Authenticated as <a href=\"%1$s\" class=\"font-weight-normal\">%2$s</a>"
#~ msgstr ""
#~ "Conectado como <a href=\"%1$s\" class=\"font-weight-light\">%2$s</a>"
#~ "Conectado como <a href=\"%1$s\" class=\"font-weight-normal\">%2$s</a>"
#~ msgid "Anonymous"
#~ msgstr "Anônimo"