added button styles for accedeix, lang suport and guttember changes
This commit is contained in:
parent
3929c97ac5
commit
782974de65
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
/**
|
||||
* Sets up theme defaults and registers support for various WordPress features.
|
||||
*/
|
||||
function ofisuport_theme__setup() {
|
||||
// Add support for editor styles.
|
||||
add_theme_support( 'editor-styles' );
|
||||
|
||||
// Enqueue editor styles.
|
||||
add_editor_style( 'assets/css/style-editor.css' );
|
||||
}
|
||||
add_action( 'after_setup_theme', 'ofisuport_theme_setup' );
|
|
@ -3,8 +3,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Oficina de Suport de Xarxaprod 1.0.0\n"
|
||||
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/oficinasuport-wp-theme\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Report-Msgid-Bugs-To: https://git.hangar.org/xarxaprod/oficinasuport-wp-theme\n"
|
||||
"Last-Translator: Jorge - vitrubio.net <jorge@vitrubio.net>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
|
|
@ -2,6 +2,7 @@ button,
|
|||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"],
|
||||
.button,
|
||||
.wp-block-button__link {
|
||||
border: 1px solid;
|
||||
border-color: $color__border-button;
|
||||
|
|
|
@ -21,7 +21,15 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
.excerpt.post-excerpt, .entry-title {
|
||||
a {
|
||||
&.button {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.button,
|
||||
.excerpt,
|
||||
.post-excerpt,
|
||||
.entry-title {
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
13
style.css
13
style.css
|
@ -646,7 +646,14 @@ a:hover, a:active {
|
|||
outline: 0;
|
||||
}
|
||||
|
||||
.excerpt.post-excerpt a, .entry-title a {
|
||||
a.button {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.button a,
|
||||
.excerpt a,
|
||||
.post-excerpt a,
|
||||
.entry-title a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
@ -656,6 +663,7 @@ button,
|
|||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"],
|
||||
.button,
|
||||
.wp-block-button__link {
|
||||
border: 1px solid;
|
||||
border-color: #000;
|
||||
|
@ -671,6 +679,7 @@ button:hover,
|
|||
input[type="button"]:hover,
|
||||
input[type="reset"]:hover,
|
||||
input[type="submit"]:hover,
|
||||
.button:hover,
|
||||
.wp-block-button__link:hover {
|
||||
border-color: #111;
|
||||
}
|
||||
|
@ -682,6 +691,8 @@ input[type="reset"]:active,
|
|||
input[type="reset"]:focus,
|
||||
input[type="submit"]:active,
|
||||
input[type="submit"]:focus,
|
||||
.button:active,
|
||||
.button:focus,
|
||||
.wp-block-button__link:active,
|
||||
.wp-block-button__link:focus {
|
||||
border-color: #222;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -53,6 +53,9 @@
|
|||
<?php the_excerpt() ?>
|
||||
</a>
|
||||
</section>
|
||||
<button class="button button-more" >
|
||||
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">accedeix</a>
|
||||
</button>
|
||||
</article>
|
||||
|
||||
<?php endwhile;//end of the loop ?>
|
||||
|
|
Loading…
Reference in New Issue