added styles for single ajut and added consistency to css classes
This commit is contained in:
parent
2d995662b4
commit
cae631e392
386
adminstyles.css
386
adminstyles.css
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -27,7 +27,7 @@ dd {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oficina-support-label {
|
.oficina-suport-label {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|
|
@ -62,7 +62,26 @@
|
||||||
border-bottom: 1px solid $color__black;
|
border-bottom: 1px solid $color__black;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.ofisuport-funder-name {
|
p {
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ofisuport-fund-info-fields {
|
||||||
|
display: grid;
|
||||||
|
.ofisuport-fund-info-fields ul {
|
||||||
|
margin: 1rem 0;
|
||||||
|
border-bottom: 1px solid $color__black;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
.ofisuport-fund-info-fields li {
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.oficina-suport-label {
|
||||||
|
}
|
||||||
|
.ofisuport-funder-name,
|
||||||
|
.ofisuport-fund-contact-name,
|
||||||
|
.ofisuport-fund-web {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin:0;
|
margin:0;
|
||||||
padding: 0.3rem 0;
|
padding: 0.3rem 0;
|
||||||
|
@ -71,9 +90,9 @@
|
||||||
line-height: 0.9;
|
line-height: 0.9;
|
||||||
border-bottom: 1px solid $color__black;
|
border-bottom: 1px solid $color__black;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
a {
|
||||||
p {
|
text-decoration: none;
|
||||||
margin:0;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,9 +26,9 @@ get_header();
|
||||||
//);
|
//);
|
||||||
|
|
||||||
// If comments are open or we have at least one comment, load up the comment template.
|
// If comments are open or we have at least one comment, load up the comment template.
|
||||||
if ( comments_open() || get_comments_number() ) :
|
//if ( comments_open() || get_comments_number() ) :
|
||||||
// comments_template();
|
// comments_template();
|
||||||
endif;
|
//endif;
|
||||||
|
|
||||||
endwhile; // End of the loop.
|
endwhile; // End of the loop.
|
||||||
?>
|
?>
|
||||||
|
|
311
style.css
311
style.css
|
@ -22,6 +22,7 @@ Underscores is distributed under the terms of the GNU GPL v2 or later.
|
||||||
Normalizing styles have been helped along thanks to the fine work of
|
Normalizing styles have been helped along thanks to the fine work of
|
||||||
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
>>> TABLE OF CONTENTS:
|
>>> TABLE OF CONTENTS:
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
@ -49,14 +50,19 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||||
- Alignments
|
- Alignments
|
||||||
|
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Generic
|
# Generic
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
/* Normalize
|
/* Normalize
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* Document
|
/* Document
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 1. Correct the line height in all browsers.
|
* 1. Correct the line height in all browsers.
|
||||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||||
|
@ -68,6 +74,7 @@ html {
|
||||||
|
|
||||||
/* Sections
|
/* Sections
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove the margin in all browsers.
|
* Remove the margin in all browsers.
|
||||||
*/
|
*/
|
||||||
|
@ -93,6 +100,7 @@ h1 {
|
||||||
|
|
||||||
/* Grouping content
|
/* Grouping content
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 1. Add the correct box sizing in Firefox.
|
* 1. Add the correct box sizing in Firefox.
|
||||||
* 2. Show the overflow in Edge and IE.
|
* 2. Show the overflow in Edge and IE.
|
||||||
|
@ -114,6 +122,7 @@ pre {
|
||||||
|
|
||||||
/* Text-level semantics
|
/* Text-level semantics
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove the gray background on active links in IE 10.
|
* Remove the gray background on active links in IE 10.
|
||||||
*/
|
*/
|
||||||
|
@ -179,6 +188,7 @@ sup {
|
||||||
|
|
||||||
/* Embedded content
|
/* Embedded content
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove the border on images inside links in IE 10.
|
* Remove the border on images inside links in IE 10.
|
||||||
*/
|
*/
|
||||||
|
@ -188,6 +198,7 @@ img {
|
||||||
|
|
||||||
/* Forms
|
/* Forms
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 1. Change the font styles in all browsers.
|
* 1. Change the font styles in all browsers.
|
||||||
* 2. Remove the margin in Firefox and Safari.
|
* 2. Remove the margin in Firefox and Safari.
|
||||||
|
@ -333,6 +344,7 @@ textarea {
|
||||||
|
|
||||||
/* Interactive
|
/* Interactive
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||||
*/
|
*/
|
||||||
|
@ -349,6 +361,7 @@ summary {
|
||||||
|
|
||||||
/* Misc
|
/* Misc
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the correct display in IE 10+.
|
* Add the correct display in IE 10+.
|
||||||
*/
|
*/
|
||||||
|
@ -365,6 +378,7 @@ template {
|
||||||
|
|
||||||
/* Box sizing
|
/* Box sizing
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
/* Inherit box-sizing to more easily change it's value on a component level.
|
/* Inherit box-sizing to more easily change it's value on a component level.
|
||||||
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
|
||||||
*,
|
*,
|
||||||
|
@ -380,6 +394,7 @@ html {
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Base
|
# Base
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
/* Typography
|
/* Typography
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
body,
|
body,
|
||||||
|
@ -389,12 +404,13 @@ select,
|
||||||
optgroup,
|
optgroup,
|
||||||
textarea {
|
textarea {
|
||||||
color: #404040;
|
color: #404040;
|
||||||
font-family: "din-regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-regular, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
@ -404,33 +420,41 @@ textarea {
|
||||||
clear: both;
|
clear: both;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-light, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-light, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-black, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-bold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-family: "din-medium", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-medium, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-light, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.single h1 {
|
.single h1 {
|
||||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-black, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured h2 {
|
.home-featured h2 {
|
||||||
margin: 1.2rem 0;
|
margin: 1.2rem 0;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
|
@ -440,25 +464,32 @@ textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 48em) {
|
@media screen and (min-width: 48em) {
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 3.5rem;
|
font-size: 3.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-black, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1.7rem;
|
font-size: 1.7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured h2 {
|
.home-featured h2 {
|
||||||
font-size: 3.5rem;
|
font-size: 3.5rem;
|
||||||
border-bottom: 0.8rem solid #000;
|
border-bottom: 0.8rem solid #000;
|
||||||
|
@ -533,7 +564,7 @@ Your custom style
|
||||||
Add your custom styles in this file so it is easier to update the theme.
|
Add your custom styles in this file so it is easier to update the theme.
|
||||||
*/
|
*/
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'din-regular';
|
font-family: din-regular;
|
||||||
src: url("assets/fonts/DIN-Regular.eot");
|
src: url("assets/fonts/DIN-Regular.eot");
|
||||||
src: url("assets/fonts/DIN-Regular.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Regular.woff2") format("woff2"), url("assets/fonts/DIN-Regular.woff") format("woff"), url("assets/fonts/DIN-Regular.ttf") format("truetype"), url("assets/fonts/DIN-Regular.svg#fonts/DIN-Regular") format("svg");
|
src: url("assets/fonts/DIN-Regular.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Regular.woff2") format("woff2"), url("assets/fonts/DIN-Regular.woff") format("woff"), url("assets/fonts/DIN-Regular.ttf") format("truetype"), url("assets/fonts/DIN-Regular.svg#fonts/DIN-Regular") format("svg");
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
|
@ -542,7 +573,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'din-medium';
|
font-family: din-medium;
|
||||||
src: url("assets/fonts/DIN-Medium.eot");
|
src: url("assets/fonts/DIN-Medium.eot");
|
||||||
src: url("assets/fonts/DIN-Medium.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Medium.woff2") format("woff2"), url("assets/fonts/DIN-Medium.woff") format("woff"), url("assets/fonts/DIN-Medium.ttf") format("truetype"), url("assets/fonts/DIN-Medium.svg#DIN-Medium") format("svg");
|
src: url("assets/fonts/DIN-Medium.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Medium.woff2") format("woff2"), url("assets/fonts/DIN-Medium.woff") format("woff"), url("assets/fonts/DIN-Medium.ttf") format("truetype"), url("assets/fonts/DIN-Medium.svg#DIN-Medium") format("svg");
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
|
@ -551,7 +582,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'din-bold';
|
font-family: din-bold;
|
||||||
src: url("assets/fonts/DIN-Bold.eot");
|
src: url("assets/fonts/DIN-Bold.eot");
|
||||||
src: url("assets/fonts/DIN-Bold.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Bold.woff2") format("woff2"), url("assets/fonts/DIN-Bold.woff") format("woff"), url("assets/fonts/DIN-Bold.ttf") format("truetype"), url("assets/fonts/DIN-Bold.svg#DIN-Bold") format("svg");
|
src: url("assets/fonts/DIN-Bold.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Bold.woff2") format("woff2"), url("assets/fonts/DIN-Bold.woff") format("woff"), url("assets/fonts/DIN-Bold.ttf") format("truetype"), url("assets/fonts/DIN-Bold.svg#DIN-Bold") format("svg");
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
|
@ -560,7 +591,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'din-light';
|
font-family: din-light;
|
||||||
src: url("assets/fonts/DIN-Light.eot");
|
src: url("assets/fonts/DIN-Light.eot");
|
||||||
src: url("assets/fonts/DIN-Light.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Light.woff2") format("woff2"), url("assets/fonts/DIN-Light.woff") format("woff"), url("assets/fonts/DIN-Light.ttf") format("truetype"), url("assets/fonts/DIN-Light.svg#DIN-Light") format("svg");
|
src: url("assets/fonts/DIN-Light.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Light.woff2") format("woff2"), url("assets/fonts/DIN-Light.woff") format("woff"), url("assets/fonts/DIN-Light.ttf") format("truetype"), url("assets/fonts/DIN-Light.svg#DIN-Light") format("svg");
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
|
@ -569,7 +600,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'din-black';
|
font-family: din-black;
|
||||||
src: url("assets/fonts/DIN-Black.eot");
|
src: url("assets/fonts/DIN-Black.eot");
|
||||||
src: url("assets/fonts/DIN-Black.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Black.woff2") format("woff2"), url("assets/fonts/DIN-Black.woff") format("woff"), url("assets/fonts/DIN-Black.ttf") format("truetype"), url("assets/fonts/DIN-Black.svg#DIN-Black") format("svg");
|
src: url("assets/fonts/DIN-Black.eot?#iefix") format("embedded-opentype"), url("assets/fonts/DIN-Black.woff2") format("woff2"), url("assets/fonts/DIN-Black.woff") format("woff"), url("assets/fonts/DIN-Black.ttf") format("truetype"), url("assets/fonts/DIN-Black.svg#DIN-Black") format("svg");
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
|
@ -619,19 +650,19 @@ dd {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oficina-support-label {
|
.oficina-suport-label {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oficina-support-label li {
|
.oficina-suport-label li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0.1rem;
|
margin: 0.1rem;
|
||||||
padding: 0 0.2rem;
|
padding: 0 0.2rem;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-black, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
@ -692,7 +723,9 @@ a:visited {
|
||||||
color: #303030;
|
color: #303030;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover, a:focus, a:active {
|
a:hover,
|
||||||
|
a:focus,
|
||||||
|
a:active {
|
||||||
color: #707070;
|
color: #707070;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -700,7 +733,8 @@ a:focus {
|
||||||
outline: thin dotted;
|
outline: thin dotted;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover, a:active {
|
a:hover,
|
||||||
|
a:active {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -715,12 +749,18 @@ a.button {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured .category-faq, .home-featured .type-ofisuport-ajut, .archive-posts .category-faq, .archive-posts .type-ofisuport-ajut {
|
.home-featured .category-faq,
|
||||||
|
.home-featured .type-ofisuport-ajut,
|
||||||
|
.archive-posts .category-faq,
|
||||||
|
.archive-posts .type-ofisuport-ajut {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 4rem;
|
padding-bottom: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured .category-faq .entry-title a::after, .home-featured .type-ofisuport-ajut .entry-title a::after, .archive-posts .category-faq .entry-title a::after, .archive-posts .type-ofisuport-ajut .entry-title a::after {
|
.home-featured .category-faq .entry-title a::after,
|
||||||
|
.home-featured .type-ofisuport-ajut .entry-title a::after,
|
||||||
|
.archive-posts .category-faq .entry-title a::after,
|
||||||
|
.archive-posts .type-ofisuport-ajut .entry-title a::after {
|
||||||
content: "+";
|
content: "+";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -733,24 +773,29 @@ a.button {
|
||||||
line-height: 0.8;
|
line-height: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured .category-faq .entry-title a:hover::after, .home-featured .type-ofisuport-ajut .entry-title a:hover::after, .archive-posts .category-faq .entry-title a:hover::after, .archive-posts .type-ofisuport-ajut .entry-title a:hover::after {
|
.home-featured .category-faq .entry-title a:hover::after,
|
||||||
|
.home-featured .type-ofisuport-ajut .entry-title a:hover::after,
|
||||||
|
.archive-posts .category-faq .entry-title a:hover::after,
|
||||||
|
.archive-posts .type-ofisuport-ajut .entry-title a:hover::after {
|
||||||
content: ">";
|
content: ">";
|
||||||
padding: 0 0.38rem;
|
padding: 0 0.38rem;
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured .category-faq .entry-title a::before, .archive-posts .category-faq .entry-title a::before {
|
.home-featured .category-faq .entry-title a::before,
|
||||||
|
.archive-posts .category-faq .entry-title a::before {
|
||||||
content: "accedir";
|
content: "accedir";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 1em;
|
bottom: 1em;
|
||||||
left: 0.5em;
|
left: 0.5em;
|
||||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-light, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured .category-faq .entry-title a::after, .archive-posts .category-faq .entry-title a::after {
|
.home-featured .category-faq .entry-title a::after,
|
||||||
|
.archive-posts .category-faq .entry-title a::after {
|
||||||
content: "+";
|
content: "+";
|
||||||
width: 8rem;
|
width: 8rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
|
@ -760,7 +805,8 @@ a.button {
|
||||||
line-height: 0.7;
|
line-height: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-featured .category-faq .entry-title a:hover::after, .archive-posts .category-faq .entry-title a:hover::after {
|
.home-featured .category-faq .entry-title a:hover::after,
|
||||||
|
.archive-posts .category-faq .entry-title a:hover::after {
|
||||||
content: ">";
|
content: ">";
|
||||||
padding: 0 0.1rem;
|
padding: 0 0.1rem;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
|
@ -794,7 +840,8 @@ input[type="submit"]:hover,
|
||||||
border-color: #111;
|
border-color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active, button:focus,
|
button:active,
|
||||||
|
button:focus,
|
||||||
input[type="button"]:active,
|
input[type="button"]:active,
|
||||||
input[type="button"]:focus,
|
input[type="button"]:focus,
|
||||||
input[type="reset"]:active,
|
input[type="reset"]:active,
|
||||||
|
@ -863,6 +910,7 @@ textarea {
|
||||||
# Layouts
|
# Layouts
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
@media screen {
|
@media screen {
|
||||||
|
|
||||||
.no-sidebar .site {
|
.no-sidebar .site {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr minmax(0, 35em) minmax(0, 35em) 1fr;
|
grid-template-columns: 1fr minmax(0, 35em) minmax(0, 35em) 1fr;
|
||||||
|
@ -870,18 +918,23 @@ textarea {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site > header {
|
.no-sidebar .site > header {
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site > main {
|
.no-sidebar .site > main {
|
||||||
grid-column: 2 / 4;
|
grid-column: 2 / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site > aside {
|
.no-sidebar .site > aside {
|
||||||
grid-column: 2 / 4;
|
grid-column: 2 / 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site > footer {
|
.no-sidebar .site > footer {
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site-header {
|
.no-sidebar .site-header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
|
@ -890,36 +943,76 @@ textarea {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 1px 0 0 rgba(0, 0, 0, 0);
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 1px 0 0 rgba(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site-header .main {
|
.no-sidebar .site-header .main {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site-header .secondary {
|
.no-sidebar .site-header .secondary {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site-main {
|
.no-sidebar .site-main {
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
}
|
}
|
||||||
.no-sidebar .site-main h1, .no-sidebar .site-main h2, .no-sidebar .site-main h3, .no-sidebar .site-main h4, .no-sidebar .site-main h5, .no-sidebar .site-main h6, .no-sidebar .site-main .entry-content {
|
|
||||||
|
.no-sidebar .site-main h1,
|
||||||
|
.no-sidebar .site-main h2,
|
||||||
|
.no-sidebar .site-main h3,
|
||||||
|
.no-sidebar .site-main h4,
|
||||||
|
.no-sidebar .site-main h5,
|
||||||
|
.no-sidebar .site-main h6,
|
||||||
|
.no-sidebar .site-main .entry-content {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .home-featured {
|
.no-sidebar .home-featured {
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
}
|
}
|
||||||
.ofisuport-destacats, .ofisuport-featured, .archive-posts {
|
|
||||||
|
.ofisuport-destacats,
|
||||||
|
.ofisuport-featured,
|
||||||
|
.archive-posts {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(1, 1fr);
|
grid-template-columns: repeat(1, 1fr);
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
.ofisuport-destacats .entry-title, .ofisuport-featured .entry-title, .archive-posts .entry-title {
|
|
||||||
|
.ofisuport-destacats .entry-title,
|
||||||
|
.ofisuport-featured .entry-title,
|
||||||
|
.archive-posts .entry-title {
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.ofisuport-destacats .ofisuport-funder-name, .ofisuport-featured .ofisuport-funder-name, .archive-posts .ofisuport-funder-name {
|
|
||||||
|
.ofisuport-destacats p,
|
||||||
|
.ofisuport-featured p,
|
||||||
|
.archive-posts p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ofisuport-fund-info-fields {
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ofisuport-fund-info-fields .ofisuport-fund-info-fields ul {
|
||||||
|
margin: 1rem 0;
|
||||||
|
border-bottom: 1px solid #000;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ofisuport-fund-info-fields .ofisuport-fund-info-fields ul .ofisuport-fund-info-fields li {
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ofisuport-funder-name,
|
||||||
|
.ofisuport-fund-contact-name,
|
||||||
|
.ofisuport-fund-web {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.3rem 0;
|
padding: 0.3rem 0;
|
||||||
|
@ -929,45 +1022,67 @@ textarea {
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.ofisuport-destacats p, .ofisuport-featured p, .archive-posts p {
|
|
||||||
margin: 0;
|
.ofisuport-funder-name a,
|
||||||
|
.ofisuport-fund-contact-name a,
|
||||||
|
.ofisuport-fund-web a {
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 48em) {
|
@media screen and (min-width: 48em) {
|
||||||
|
|
||||||
.no-sidebar .site-header .main {
|
.no-sidebar .site-header .main {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site-header .secondary {
|
.no-sidebar .site-header .secondary {
|
||||||
border-top: 1px solid #eee;
|
border-top: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site-main {
|
.no-sidebar .site-main {
|
||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
}
|
}
|
||||||
.no-sidebar .site-main h1, .no-sidebar .site-main h2, .no-sidebar .site-main h3, .no-sidebar .site-main h4, .no-sidebar .site-main h5, .no-sidebar .site-main h6, .no-sidebar .site-main .entry-content {
|
|
||||||
|
.no-sidebar .site-main h1,
|
||||||
|
.no-sidebar .site-main h2,
|
||||||
|
.no-sidebar .site-main h3,
|
||||||
|
.no-sidebar .site-main h4,
|
||||||
|
.no-sidebar .site-main h5,
|
||||||
|
.no-sidebar .site-main h6,
|
||||||
|
.no-sidebar .site-main .entry-content {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .home-featured {
|
.no-sidebar .home-featured {
|
||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar.single .site-main {
|
.no-sidebar.single .site-main {
|
||||||
width: 45rem;
|
width: 45rem;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
.ofisuport-destacats, .ofisuport-featured, .archive-posts {
|
|
||||||
|
.ofisuport-destacats,
|
||||||
|
.ofisuport-featured,
|
||||||
|
.archive-posts {
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: repeat(4, 1fr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 80em) {
|
@media screen and (min-width: 80em) {
|
||||||
|
|
||||||
.no-sidebar .site-header .main {
|
.no-sidebar .site-header .main {
|
||||||
width: 80em;
|
width: 80em;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .site-main {
|
.no-sidebar .site-main {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-sidebar .home-featured {
|
.no-sidebar .home-featured {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -976,28 +1091,35 @@ textarea {
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Components
|
# Components
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
/* Navigation
|
/* Navigation
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
@media screen {
|
@media screen {
|
||||||
|
|
||||||
.hide-content {
|
.hide-content {
|
||||||
display: block;
|
display: block;
|
||||||
width: 0px;
|
width: 0;
|
||||||
height: 0px;
|
height: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-logo {
|
.custom-logo {
|
||||||
min-width: 11rem;
|
min-width: 11rem;
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
}
|
}
|
||||||
.main-navigation ul, .secondary-navigation ul {
|
|
||||||
|
.main-navigation ul,
|
||||||
|
.secondary-navigation ul {
|
||||||
display: none;
|
display: none;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
.main-navigation ul ul, .secondary-navigation ul ul {
|
|
||||||
|
.main-navigation ul ul,
|
||||||
|
.secondary-navigation ul ul {
|
||||||
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
||||||
float: left;
|
float: left;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1005,28 +1127,40 @@ textarea {
|
||||||
left: -999em;
|
left: -999em;
|
||||||
z-index: 99999;
|
z-index: 99999;
|
||||||
}
|
}
|
||||||
.main-navigation ul ul ul, .secondary-navigation ul ul ul {
|
|
||||||
|
.main-navigation ul ul ul,
|
||||||
|
.secondary-navigation ul ul ul {
|
||||||
left: -999em;
|
left: -999em;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-navigation ul ul li:hover > ul,
|
.main-navigation ul ul li:hover > ul,
|
||||||
.main-navigation ul ul li.focus > ul, .secondary-navigation ul ul li:hover > ul,
|
.main-navigation ul ul li.focus > ul,
|
||||||
|
.secondary-navigation ul ul li:hover > ul,
|
||||||
.secondary-navigation ul ul li.focus > ul {
|
.secondary-navigation ul ul li.focus > ul {
|
||||||
display: block;
|
display: block;
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
.main-navigation ul ul a, .secondary-navigation ul ul a {
|
|
||||||
|
.main-navigation ul ul a,
|
||||||
|
.secondary-navigation ul ul a {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-navigation ul li:hover > ul,
|
.main-navigation ul li:hover > ul,
|
||||||
.main-navigation ul li.focus > ul, .secondary-navigation ul li:hover > ul,
|
.main-navigation ul li.focus > ul,
|
||||||
|
.secondary-navigation ul li:hover > ul,
|
||||||
.secondary-navigation ul li.focus > ul {
|
.secondary-navigation ul li.focus > ul {
|
||||||
left: auto;
|
left: auto;
|
||||||
}
|
}
|
||||||
.main-navigation li, .secondary-navigation li {
|
|
||||||
|
.main-navigation li,
|
||||||
|
.secondary-navigation li {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.main-navigation a, .secondary-navigation a {
|
|
||||||
|
.main-navigation a,
|
||||||
|
.secondary-navigation a {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
@ -1034,43 +1168,52 @@ textarea {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-navigation .current_page_item > a,
|
.main-navigation .current_page_item > a,
|
||||||
.main-navigation .current-menu-item > a,
|
.main-navigation .current-menu-item > a,
|
||||||
.main-navigation .current_page_ancestor > a,
|
.main-navigation .current_page_ancestor > a,
|
||||||
.main-navigation .current-menu-ancestor > a, .secondary-navigation .current_page_item > a,
|
.main-navigation .current-menu-ancestor > a,
|
||||||
|
.secondary-navigation .current_page_item > a,
|
||||||
.secondary-navigation .current-menu-item > a,
|
.secondary-navigation .current-menu-item > a,
|
||||||
.secondary-navigation .current_page_ancestor > a,
|
.secondary-navigation .current_page_ancestor > a,
|
||||||
.secondary-navigation .current-menu-ancestor > a {
|
.secondary-navigation .current-menu-ancestor > a {
|
||||||
font-weight: bold;
|
font-weight: 700;
|
||||||
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-bold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
border-left: 1px solid #000;
|
border-left: 1px solid #000;
|
||||||
}
|
}
|
||||||
.main-navigation a[href^="http://localhost"],
|
.main-navigation a[href^="http://localhost"],
|
||||||
.main-navigation a[href^="http://oficinasuport.xarxaprod.cat"],
|
.main-navigation a[href^="http://oficinasuport.xarxaprod.cat"],
|
||||||
.main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] {
|
.main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] {
|
||||||
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-bold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
border-left: 1px solid #000;
|
border-left: 1px solid #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary-navigation {
|
.secondary-navigation {
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary-navigation ul {
|
.secondary-navigation ul {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary-navigation ul li {
|
.secondary-navigation ul li {
|
||||||
padding: 0.5em 0;
|
padding: 0.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary-navigation a {
|
.secondary-navigation a {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* begin of menu-hidden */
|
/* begin of menu-hidden */
|
||||||
.toogle-secondary-navigation .show-mobile {
|
.toogle-secondary-navigation .show-mobile {
|
||||||
display: inherit;
|
display: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toogle,
|
.toogle,
|
||||||
.toogled-menu {
|
.toogled-menu {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toogle:checked + .toogled-menu {
|
.toogle:checked + .toogled-menu {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1082,6 +1225,7 @@ textarea {
|
||||||
padding: 7em 4em 0 4em;
|
padding: 7em 4em 0 4em;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toogle-show {
|
.toogle-show {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -1091,6 +1235,7 @@ textarea {
|
||||||
border-top: 0.3em solid #000;
|
border-top: 0.3em solid #000;
|
||||||
border-bottom: 0.3em solid #000;
|
border-bottom: 0.3em solid #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toogle-show::before {
|
.toogle-show::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1099,17 +1244,21 @@ textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-top: 0.3em solid #000;
|
border-top: 0.3em solid #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toogle-hide {
|
.toogle-hide {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toogle-hide::after {
|
.toogle-hide::after {
|
||||||
content: "x";
|
content: "x";
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
font-weight: bold;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* end of menu hidden*/
|
/* end of menu hidden*/
|
||||||
|
|
||||||
/* Small menu. */
|
/* Small menu. */
|
||||||
.menu-toggle,
|
.menu-toggle,
|
||||||
.main-navigation.toggled ul {
|
.main-navigation.toggled ul {
|
||||||
|
@ -1118,38 +1267,48 @@ textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 48em) {
|
@media screen and (min-width: 48em) {
|
||||||
|
|
||||||
.custom-logo {
|
.custom-logo {
|
||||||
min-width: 11rem;
|
min-width: 11rem;
|
||||||
margin: 1rem 1rem 1rem 0;
|
margin: 1rem 1rem 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-toggle {
|
.menu-toggle {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.main-navigation ul, .secondary-navigation ul {
|
|
||||||
|
.main-navigation ul,
|
||||||
|
.secondary-navigation ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.main-navigation a, .secondary-navigation a {
|
|
||||||
|
.main-navigation a,
|
||||||
|
.secondary-navigation a {
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-navigation .current_page_item > a,
|
.main-navigation .current_page_item > a,
|
||||||
.main-navigation .current-menu-item > a,
|
.main-navigation .current-menu-item > a,
|
||||||
.main-navigation .current_page_ancestor > a,
|
.main-navigation .current_page_ancestor > a,
|
||||||
.main-navigation .current-menu-ancestor > a, .secondary-navigation .current_page_item > a,
|
.main-navigation .current-menu-ancestor > a,
|
||||||
|
.secondary-navigation .current_page_item > a,
|
||||||
.secondary-navigation .current-menu-item > a,
|
.secondary-navigation .current-menu-item > a,
|
||||||
.secondary-navigation .current_page_ancestor > a,
|
.secondary-navigation .current_page_ancestor > a,
|
||||||
.secondary-navigation .current-menu-ancestor > a {
|
.secondary-navigation .current-menu-ancestor > a {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-navigation {
|
.main-navigation {
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-navigation ul {
|
.main-navigation ul {
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
}
|
}
|
||||||
.main-navigation a[href^="http://localhost"],
|
.main-navigation a[href^="http://localhost"],
|
||||||
.main-navigation a[href^="http://oficinasuport.xarxaprod.cat"],
|
.main-navigation a[href^="http://oficinasuport.xarxaprod.cat"],
|
||||||
.main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] {
|
.main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] {
|
||||||
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-bold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
.main-navigation a[href^="http://localhost"]::after,
|
.main-navigation a[href^="http://localhost"]::after,
|
||||||
|
@ -1166,9 +1325,11 @@ textarea {
|
||||||
margin-top: 2.3em;
|
margin-top: 2.3em;
|
||||||
border-bottom: 0.3rem solid #000;
|
border-bottom: 0.3rem solid #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.secondary-navigation {
|
.secondary-navigation {
|
||||||
padding: 1.5em 0;
|
padding: 1.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* css menu toogler
|
* css menu toogler
|
||||||
* */
|
* */
|
||||||
|
@ -1176,15 +1337,19 @@ textarea {
|
||||||
.toogle-secondary-navigation .hide-not-mobile {
|
.toogle-secondary-navigation .hide-not-mobile {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toogled-menu {
|
.toogled-menu {
|
||||||
display: inherit;
|
display: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* end css menu toogler
|
/* end css menu toogler
|
||||||
* */
|
* */
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-main .comment-navigation, .site-main
|
.site-main .comment-navigation,
|
||||||
.posts-navigation, .site-main
|
.site-main
|
||||||
|
.posts-navigation,
|
||||||
|
.site-main
|
||||||
.post-navigation {
|
.post-navigation {
|
||||||
margin: 0 0 1.5em;
|
margin: 0 0 1.5em;
|
||||||
}
|
}
|
||||||
|
@ -1209,14 +1374,19 @@ textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 80em) {
|
@media screen and (min-width: 80em) {
|
||||||
|
|
||||||
.main-navigation .toogle-sidebar-segona .show-mobile,
|
.main-navigation .toogle-sidebar-segona .show-mobile,
|
||||||
.main-navigation .toogle-sidebar-segona .hide-not-mobile, .secondary-navigation .toogle-sidebar-segona .show-mobile,
|
.main-navigation .toogle-sidebar-segona .hide-not-mobile,
|
||||||
|
.secondary-navigation .toogle-sidebar-segona .show-mobile,
|
||||||
.secondary-navigation .toogle-sidebar-segona .hide-not-mobile {
|
.secondary-navigation .toogle-sidebar-segona .hide-not-mobile {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.main-navigation a, .secondary-navigation a {
|
|
||||||
|
.main-navigation a,
|
||||||
|
.secondary-navigation a {
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-navigation {
|
.main-navigation {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
@ -1364,8 +1534,10 @@ textarea {
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Plugins
|
# Plugins
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
/* Jetpack infinite scroll
|
/* Jetpack infinite scroll
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
|
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
|
||||||
.infinite-scroll .posts-navigation,
|
.infinite-scroll .posts-navigation,
|
||||||
.infinite-scroll.neverending .site-footer {
|
.infinite-scroll.neverending .site-footer {
|
||||||
|
@ -1400,13 +1572,13 @@ textarea {
|
||||||
.black-blocs .wp-block-column h5,
|
.black-blocs .wp-block-column h5,
|
||||||
.black-blocs .wp-block-column h6 {
|
.black-blocs .wp-block-column h6 {
|
||||||
min-height: 4.8rem;
|
min-height: 4.8rem;
|
||||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-black, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
line-height: 1.04;
|
line-height: 1.04;
|
||||||
}
|
}
|
||||||
|
|
||||||
.black-blocs .wp-block-column p {
|
.black-blocs .wp-block-column p {
|
||||||
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family: din-bold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1449,14 +1621,15 @@ textarea {
|
||||||
border-color: #f6cc4c;
|
border-color: #f6cc4c;
|
||||||
background-color: #f6cc4c;
|
background-color: #f6cc4c;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: "din-medium";
|
font-family: din-medium;
|
||||||
font-weight: bold;
|
font-weight: 700;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0em;
|
margin: 0;
|
||||||
padding: 0rem;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wpcf7-form .contactform-name, .wpcf7-form .wpcf7-form .contactform-email {
|
.wpcf7-form .contactform-name,
|
||||||
|
.wpcf7-form .wpcf7-form .contactform-email {
|
||||||
max-width: 40%;
|
max-width: 40%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
@ -1487,8 +1660,10 @@ textarea {
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
# Utilities
|
# Utilities
|
||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
|
|
||||||
/* Accessibility
|
/* Accessibility
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
/* Text meant only for screen readers. */
|
/* Text meant only for screen readers. */
|
||||||
.screen-reader-text {
|
.screen-reader-text {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -1531,16 +1706,20 @@ textarea {
|
||||||
/* Alignments
|
/* Alignments
|
||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
.alignleft {
|
.alignleft {
|
||||||
|
|
||||||
/*rtl:ignore*/
|
/*rtl:ignore*/
|
||||||
float: left;
|
float: left;
|
||||||
|
|
||||||
/*rtl:ignore*/
|
/*rtl:ignore*/
|
||||||
margin-right: 1.5em;
|
margin-right: 1.5em;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alignright {
|
.alignright {
|
||||||
|
|
||||||
/*rtl:ignore*/
|
/*rtl:ignore*/
|
||||||
float: right;
|
float: right;
|
||||||
|
|
||||||
/*rtl:ignore*/
|
/*rtl:ignore*/
|
||||||
margin-left: 1.5em;
|
margin-left: 1.5em;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
|
@ -1553,5 +1732,3 @@ textarea {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=style.css.map */
|
|
File diff suppressed because one or more lines are too long
|
@ -11,15 +11,29 @@
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<?php the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); ?>
|
<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
|
||||||
|
|
||||||
<?php if ( 'ofisuport-ajut' === get_post_type() ) : ?>
|
<?php if ( 'ofisuport-ajut' === get_post_type() ) : ?>
|
||||||
<div class="entry-meta">
|
<div class="entry-meta">
|
||||||
</div><!-- .entry-meta -->
|
</div><!-- .entry-meta -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</header><!-- .entry-header -->
|
</header><!-- .entry-header -->
|
||||||
|
<section class="ofisuport-fund-info-fields">
|
||||||
|
|
||||||
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_call') ); ?>
|
||||||
|
<?php if( get_field('os_funder_name') ): ?>
|
||||||
|
<h6 class="ofisuport-funder-name"><?php the_field('os_funder_name'); ?></h6>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if( get_field('os_fund_contact_name') ): ?>
|
||||||
|
<h6 class="ofisuport-fund-contact-name"><?php the_field('os_fund_contact_name'); ?></h6>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if( get_field('os_fund_web') ): ?>
|
||||||
|
<h6 class="ofisuport-fund-web"><a href="<?php the_field('os_fund_web'); ?>"><?php the_field('os_fund_web'); ?></a></h6>
|
||||||
|
<?php endif; ?>
|
||||||
|
</section>
|
||||||
|
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
the_content(
|
the_content(
|
||||||
sprintf(
|
sprintf(
|
||||||
|
@ -44,7 +58,17 @@
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</div><!-- .entry-content -->
|
</div><!-- .entry-content -->
|
||||||
|
<section class="ofisuport-fund-info-fields">
|
||||||
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
|
||||||
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_source') ); ?>
|
||||||
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
|
||||||
|
<?php if( get_field('os_fund_apply_begin') || get_field('os_fund_apply_end') ): ?>
|
||||||
|
<ul class="oficina-suport-label item-os_fund_dates">
|
||||||
|
<li> <?php the_field('os_fund_apply_begin'); ?> </li>
|
||||||
|
<li> <?php the_field('os_fund_apply_end'); ?> </li>
|
||||||
|
</ul>
|
||||||
|
<?php endif; ?>
|
||||||
|
</section>
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
<?php ofisuport_entry_footer(); ?>
|
<?php ofisuport_entry_footer(); ?>
|
||||||
</footer><!-- .entry-footer -->
|
</footer><!-- .entry-footer -->
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
<article id="post-<?php the_ID(); ?>" <?php post_class('ofisuport-card-each'); ?>>
|
||||||
<h3 class="entry-title">
|
<h3 class="entry-title">
|
||||||
<a href="<?php the_permalink(); ?>" rel="bookmark">
|
<a href="<?php the_permalink(); ?>" rel="bookmark">
|
||||||
<?php the_title(); ?>
|
<?php the_title(); ?>
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_target') ); ?>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_source') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_source') ); ?>
|
||||||
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
|
<?php get_template_part( 'template-parts/section', 'list-checkbox', array('iterate_field' => 'os_fund_field') ); ?>
|
||||||
<ul class="oficina-support-label item-os_fund_dates">
|
<ul class="oficina-suport-label item-os_fund_dates">
|
||||||
<li> <?php the_field('os_fund_apply_begin'); ?> </li>
|
<li> <?php the_field('os_fund_apply_begin'); ?> </li>
|
||||||
<li> <?php the_field('os_fund_apply_end'); ?> </li>
|
<li> <?php the_field('os_fund_apply_end'); ?> </li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
$values= get_field($fielditerate);
|
$values= get_field($fielditerate);
|
||||||
if( $values ):
|
if( $values ):
|
||||||
?>
|
?>
|
||||||
<ul class="oficina-support-label item-<?php echo $fielditerate ?>">
|
<ul class="oficina-suport-label item-<?php echo $fielditerate ?>">
|
||||||
<?php foreach( $values as $value ): ?>
|
<?php foreach( $values as $value ): ?>
|
||||||
<li><?php echo $value; ?></li>
|
<li><?php echo $value; ?></li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
Loading…
Reference in New Issue