styled single fund ajut with fields
This commit is contained in:
parent
1a448fedec
commit
c30c8edd26
388
adminstyles.css
388
adminstyles.css
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@ function ofisuport_body_classes( $classes ) {
|
|||
}
|
||||
|
||||
// Adds a class of no-sidebar when there is no sidebar present.
|
||||
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
|
||||
if ( ! is_active_sidebar( 'sidebar-funds' ) ) {
|
||||
$classes[] = 'no-sidebar';
|
||||
}
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
);
|
||||
register_sidebar(
|
||||
array(
|
||||
'name' => esc_html__( 'Sidebar', 'ofisuport' ),
|
||||
'id' => 'sidebar-1',
|
||||
'name' => esc_html__( 'Sidebar funds - Lateral ajuts', 'ofisuport' ),
|
||||
'id' => 'sidebar-funds',
|
||||
'description' => esc_html__( 'Add widgets here.', 'ofisuport' ),
|
||||
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
||||
'after_widget' => '</section>',
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
@media screen {
|
||||
.no-sidebar {
|
||||
}
|
||||
.site {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr minmax(0,35em) minmax(0,35em) 1fr;
|
||||
|
@ -47,11 +49,11 @@
|
|||
margin: 0;
|
||||
}
|
||||
}
|
||||
.site-footer {
|
||||
}
|
||||
.home-featured {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
.site-footer {
|
||||
}
|
||||
.ofisuport-destacats,.ofisuport-featured,.archive-posts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1 , 1fr);
|
||||
|
@ -66,13 +68,33 @@
|
|||
}
|
||||
.ofisuport-fund-info-fields {
|
||||
display: grid;
|
||||
.ofisuport-fund-info-fields ul {
|
||||
ul {
|
||||
margin: 1rem 0;
|
||||
border-bottom: 1px solid $color__black;
|
||||
padding-bottom: 1rem;
|
||||
.ofisuport-fund-info-fields li {
|
||||
}
|
||||
[class*="item-os_fund_"] {
|
||||
&::before {
|
||||
content: "";
|
||||
display: block;
|
||||
font-size: 2rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
.item-os_fund_target::before {
|
||||
content: "dirigit a";
|
||||
}
|
||||
.item-os_fund_source::before {
|
||||
content: "tipus d'ajuda";
|
||||
}
|
||||
.item-os_fund_field::before {
|
||||
content: "sectors";
|
||||
}
|
||||
.item-os_fund_dates::before {
|
||||
content: "termini";
|
||||
}
|
||||
li {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.oficina-suport-label {
|
||||
|
@ -114,10 +136,12 @@
|
|||
}
|
||||
.site-main {
|
||||
}
|
||||
.home-featured {
|
||||
}
|
||||
.site-footer {
|
||||
}
|
||||
.page-template-funds-search {
|
||||
}
|
||||
.home-featured {
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 48em) {
|
||||
//only bigger than 48em
|
||||
|
@ -145,11 +169,11 @@
|
|||
margin:0;
|
||||
}
|
||||
}
|
||||
.site-footer {
|
||||
}
|
||||
.home-featured {
|
||||
padding: 0 2rem;
|
||||
}
|
||||
.site-footer {
|
||||
}
|
||||
&.single {
|
||||
.site-main {
|
||||
width: 45rem;
|
||||
|
@ -194,11 +218,11 @@
|
|||
.site-main {
|
||||
padding: 0;
|
||||
}
|
||||
.site-footer {
|
||||
}
|
||||
.home-featured {
|
||||
padding: 0;
|
||||
}
|
||||
.site-footer {
|
||||
}
|
||||
.page-template-funds-search {
|
||||
.ofisuport-filtered-funds {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
* @package Oficina_de_Suport_theme
|
||||
*/
|
||||
|
||||
if ( ! is_active_sidebar( 'sidebar-1' ) ) {
|
||||
if ( ! is_active_sidebar( 'sidebar-funds' ) ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<aside id="secondary" class="widget-area">
|
||||
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
||||
<?php dynamic_sidebar( 'sidebar-funds' ); ?>
|
||||
</aside><!-- #secondary -->
|
||||
|
|
313
style.css
313
style.css
|
@ -22,7 +22,6 @@ 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
|
||||
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
>>> TABLE OF CONTENTS:
|
||||
----------------------------------------------------------------
|
||||
|
@ -50,19 +49,14 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
|||
- Alignments
|
||||
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
# Generic
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Normalize
|
||||
--------------------------------------------- */
|
||||
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/* Document
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
|
@ -74,7 +68,6 @@ html {
|
|||
|
||||
/* Sections
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the margin in all browsers.
|
||||
*/
|
||||
|
@ -100,7 +93,6 @@ h1 {
|
|||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Add the correct box sizing in Firefox.
|
||||
* 2. Show the overflow in Edge and IE.
|
||||
|
@ -122,7 +114,6 @@ pre {
|
|||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
|
@ -188,7 +179,6 @@ sup {
|
|||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the border on images inside links in IE 10.
|
||||
*/
|
||||
|
@ -198,7 +188,6 @@ img {
|
|||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Change the font styles in all browsers.
|
||||
* 2. Remove the margin in Firefox and Safari.
|
||||
|
@ -344,7 +333,6 @@ textarea {
|
|||
|
||||
/* Interactive
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||
*/
|
||||
|
@ -361,7 +349,6 @@ summary {
|
|||
|
||||
/* Misc
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Add the correct display in IE 10+.
|
||||
*/
|
||||
|
@ -378,7 +365,6 @@ template {
|
|||
|
||||
/* Box sizing
|
||||
--------------------------------------------- */
|
||||
|
||||
/* 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/ */
|
||||
*,
|
||||
|
@ -394,7 +380,6 @@ html {
|
|||
/*--------------------------------------------------------------
|
||||
# Base
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Typography
|
||||
--------------------------------------------- */
|
||||
body,
|
||||
|
@ -404,13 +389,12 @@ select,
|
|||
optgroup,
|
||||
textarea {
|
||||
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;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
@media screen {
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
@ -420,41 +404,33 @@ textarea {
|
|||
clear: both;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.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 {
|
||||
margin: 1.2rem 0;
|
||||
font-size: 2rem;
|
||||
|
@ -464,32 +440,25 @@ textarea {
|
|||
}
|
||||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
h1 {
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.home-featured h2 {
|
||||
font-size: 3.5rem;
|
||||
border-bottom: 0.8rem solid #000;
|
||||
|
@ -564,7 +533,7 @@ Your custom style
|
|||
Add your custom styles in this file so it is easier to update the theme.
|
||||
*/
|
||||
@font-face {
|
||||
font-family: din-regular;
|
||||
font-family: 'din-regular';
|
||||
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");
|
||||
font-weight: 100;
|
||||
|
@ -573,7 +542,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: din-medium;
|
||||
font-family: 'din-medium';
|
||||
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");
|
||||
font-weight: 100;
|
||||
|
@ -582,7 +551,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: din-bold;
|
||||
font-family: 'din-bold';
|
||||
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");
|
||||
font-weight: 100;
|
||||
|
@ -591,7 +560,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: din-light;
|
||||
font-family: 'din-light';
|
||||
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");
|
||||
font-weight: 100;
|
||||
|
@ -600,7 +569,7 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
}
|
||||
|
||||
@font-face {
|
||||
font-family: din-black;
|
||||
font-family: 'din-black';
|
||||
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");
|
||||
font-weight: 900;
|
||||
|
@ -662,7 +631,7 @@ dd {
|
|||
padding: 0 0.2rem;
|
||||
color: #fff;
|
||||
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;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
@ -723,9 +692,7 @@ a:visited {
|
|||
color: #303030;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active {
|
||||
a:hover, a:focus, a:active {
|
||||
color: #707070;
|
||||
}
|
||||
|
||||
|
@ -733,8 +700,7 @@ a:focus {
|
|||
outline: thin dotted;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:active {
|
||||
a:hover, a:active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
@ -749,18 +715,12 @@ a.button {
|
|||
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;
|
||||
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: "+";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -773,29 +733,24 @@ a.button {
|
|||
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: ">";
|
||||
padding: 0 0.38rem;
|
||||
font-size: 2.5rem;
|
||||
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";
|
||||
position: absolute;
|
||||
bottom: 1em;
|
||||
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;
|
||||
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: "+";
|
||||
width: 8rem;
|
||||
height: 2rem;
|
||||
|
@ -805,8 +760,7 @@ a.button {
|
|||
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: ">";
|
||||
padding: 0 0.1rem;
|
||||
font-size: 1.5rem;
|
||||
|
@ -840,8 +794,7 @@ input[type="submit"]:hover,
|
|||
border-color: #111;
|
||||
}
|
||||
|
||||
button:active,
|
||||
button:focus,
|
||||
button:active, button:focus,
|
||||
input[type="button"]:active,
|
||||
input[type="button"]:focus,
|
||||
input[type="reset"]:active,
|
||||
|
@ -910,7 +863,6 @@ textarea {
|
|||
# Layouts
|
||||
--------------------------------------------------------------*/
|
||||
@media screen {
|
||||
|
||||
.site {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr minmax(0, 35em) minmax(0, 35em) 1fr;
|
||||
|
@ -918,23 +870,18 @@ textarea {
|
|||
margin: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.site > header {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.site > main {
|
||||
grid-column: 2 / 4;
|
||||
}
|
||||
|
||||
.site > aside {
|
||||
grid-column: 2 / 4;
|
||||
}
|
||||
|
||||
.site > footer {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: sticky;
|
||||
z-index: 900;
|
||||
|
@ -943,73 +890,67 @@ textarea {
|
|||
background-color: #fff;
|
||||
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 1px 0 0 rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.site-header .main {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.site-header .secondary {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.site-main {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.site-main h1,
|
||||
.site-main h2,
|
||||
.site-main h3,
|
||||
.site-main h4,
|
||||
.site-main h5,
|
||||
.site-main h6,
|
||||
.site-main .entry-content {
|
||||
.site-main h1, .site-main h2, .site-main h3, .site-main h4, .site-main h5, .site-main h6, .site-main .entry-content {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.home-featured {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.ofisuport-destacats,
|
||||
.ofisuport-featured,
|
||||
.archive-posts {
|
||||
.ofisuport-destacats, .ofisuport-featured, .archive-posts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
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;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ofisuport-destacats p,
|
||||
.ofisuport-featured p,
|
||||
.archive-posts p {
|
||||
.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 {
|
||||
.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 {
|
||||
.ofisuport-fund-info-fields [class*="item-os_fund_"]::before {
|
||||
content: "";
|
||||
display: block;
|
||||
font-size: 2rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.ofisuport-fund-info-fields .item-os_fund_target::before {
|
||||
content: "dirigit a";
|
||||
}
|
||||
.ofisuport-fund-info-fields .item-os_fund_source::before {
|
||||
content: "tipus d'ajuda";
|
||||
}
|
||||
.ofisuport-fund-info-fields .item-os_fund_field::before {
|
||||
content: "sectors";
|
||||
}
|
||||
.ofisuport-fund-info-fields .item-os_fund_dates::before {
|
||||
content: "termini";
|
||||
}
|
||||
.ofisuport-fund-info-fields li {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.ofisuport-funder-name,
|
||||
.ofisuport-fund-contact-name,
|
||||
.ofisuport-fund-web {
|
||||
|
@ -1022,98 +963,72 @@ textarea {
|
|||
border-bottom: 1px solid #000;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.ofisuport-funder-name a,
|
||||
.ofisuport-fund-contact-name a,
|
||||
.ofisuport-fund-web a {
|
||||
text-decoration: none;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.page-template-funds-search .ofisuport-filtered-funds {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.page-template-funds-search .ofisuport-fund-filter {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.page-template-funds-search .archive-posts {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.site-header .main {
|
||||
flex-flow: column;
|
||||
}
|
||||
|
||||
.site-header .secondary {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.site-main {
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.site-main h1,
|
||||
.site-main h2,
|
||||
.site-main h3,
|
||||
.site-main h4,
|
||||
.site-main h5,
|
||||
.site-main h6,
|
||||
.site-main .entry-content {
|
||||
.site-main h1, .site-main h2, .site-main h3, .site-main h4, .site-main h5, .site-main h6, .site-main .entry-content {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.home-featured {
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.single .site-main {
|
||||
width: 45rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.ofisuport-destacats,
|
||||
.ofisuport-featured,
|
||||
.archive-posts {
|
||||
.ofisuport-destacats, .ofisuport-featured, .archive-posts {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
|
||||
.page-template-funds-search .ofisuport-filtered-funds {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
}
|
||||
|
||||
.page-template-funds-search .archive-posts {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 80em) {
|
||||
|
||||
.site-header .main {
|
||||
width: 80em;
|
||||
margin: auto;
|
||||
flex-flow: row;
|
||||
}
|
||||
|
||||
.site-main {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.home-featured {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.page-template-funds-search .ofisuport-filtered-funds {
|
||||
grid-template-columns: 1fr 3fr;
|
||||
}
|
||||
|
||||
.page-template-funds-search .archive-posts {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
@ -1122,35 +1037,28 @@ textarea {
|
|||
/*--------------------------------------------------------------
|
||||
# Components
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Navigation
|
||||
--------------------------------------------- */
|
||||
@media screen {
|
||||
|
||||
.hide-content {
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.custom-logo {
|
||||
min-width: 11rem;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation ul,
|
||||
.secondary-navigation ul {
|
||||
.main-navigation ul, .secondary-navigation ul {
|
||||
display: none;
|
||||
list-style: none;
|
||||
margin: 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);
|
||||
float: left;
|
||||
position: absolute;
|
||||
|
@ -1158,40 +1066,28 @@ textarea {
|
|||
left: -999em;
|
||||
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;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.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 {
|
||||
display: block;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.main-navigation ul ul a,
|
||||
.secondary-navigation ul ul a {
|
||||
.main-navigation ul ul a, .secondary-navigation ul ul a {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.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 {
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.main-navigation li,
|
||||
.secondary-navigation li {
|
||||
.main-navigation li, .secondary-navigation li {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-navigation a,
|
||||
.secondary-navigation a {
|
||||
.main-navigation a, .secondary-navigation a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 100%;
|
||||
|
@ -1199,52 +1095,43 @@ textarea {
|
|||
text-decoration: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.main-navigation .current_page_item > a,
|
||||
.main-navigation .current-menu-item > 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_page_ancestor > a,
|
||||
.secondary-navigation .current-menu-ancestor > a {
|
||||
font-weight: 700;
|
||||
font-family: din-bold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-weight: bold;
|
||||
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
border-left: 1px solid #000;
|
||||
}
|
||||
.main-navigation a[href^="http://localhost"],
|
||||
.main-navigation a[href^="http://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;
|
||||
}
|
||||
|
||||
.secondary-navigation {
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.secondary-navigation ul {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.secondary-navigation ul li {
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
.secondary-navigation a {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* begin of menu-hidden */
|
||||
.toogle-secondary-navigation .show-mobile {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.toogle,
|
||||
.toogled-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toogle:checked + .toogled-menu {
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
@ -1256,7 +1143,6 @@ textarea {
|
|||
padding: 7em 4em 0 4em;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.toogle-show {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
@ -1266,7 +1152,6 @@ textarea {
|
|||
border-top: 0.3em solid #000;
|
||||
border-bottom: 0.3em solid #000;
|
||||
}
|
||||
|
||||
.toogle-show::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
|
@ -1275,21 +1160,17 @@ textarea {
|
|||
width: 100%;
|
||||
border-top: 0.3em solid #000;
|
||||
}
|
||||
|
||||
.toogle-hide {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.toogle-hide::after {
|
||||
content: "x";
|
||||
padding: 0;
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* end of menu hidden*/
|
||||
|
||||
/* Small menu. */
|
||||
.menu-toggle,
|
||||
.main-navigation.toggled ul {
|
||||
|
@ -1298,48 +1179,38 @@ textarea {
|
|||
}
|
||||
|
||||
@media screen and (min-width: 48em) {
|
||||
|
||||
.custom-logo {
|
||||
min-width: 11rem;
|
||||
margin: 1rem 1rem 1rem 0;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation ul,
|
||||
.secondary-navigation ul {
|
||||
.main-navigation ul, .secondary-navigation ul {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.main-navigation a,
|
||||
.secondary-navigation a {
|
||||
.main-navigation a, .secondary-navigation a {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.main-navigation .current_page_item > a,
|
||||
.main-navigation .current-menu-item > 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_page_ancestor > a,
|
||||
.secondary-navigation .current-menu-ancestor > a {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.main-navigation {
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
.main-navigation ul {
|
||||
justify-content: end;
|
||||
}
|
||||
.main-navigation a[href^="http://localhost"],
|
||||
.main-navigation a[href^="http://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;
|
||||
}
|
||||
.main-navigation a[href^="http://localhost"]::after,
|
||||
|
@ -1356,11 +1227,9 @@ textarea {
|
|||
margin-top: 2.3em;
|
||||
border-bottom: 0.3rem solid #000;
|
||||
}
|
||||
|
||||
.secondary-navigation {
|
||||
padding: 1.5em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* css menu toogler
|
||||
* */
|
||||
|
@ -1368,19 +1237,15 @@ textarea {
|
|||
.toogle-secondary-navigation .hide-not-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toogled-menu {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
/* end css menu toogler
|
||||
* */
|
||||
}
|
||||
|
||||
.site-main .comment-navigation,
|
||||
.site-main
|
||||
.posts-navigation,
|
||||
.site-main
|
||||
.site-main .comment-navigation, .site-main
|
||||
.posts-navigation, .site-main
|
||||
.post-navigation {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
@ -1405,19 +1270,14 @@ textarea {
|
|||
}
|
||||
|
||||
@media screen and (min-width: 80em) {
|
||||
|
||||
.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 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-navigation a,
|
||||
.secondary-navigation a {
|
||||
.main-navigation a, .secondary-navigation a {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.main-navigation {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
@ -1565,10 +1425,8 @@ textarea {
|
|||
/*--------------------------------------------------------------
|
||||
# Plugins
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Jetpack infinite scroll
|
||||
--------------------------------------------- */
|
||||
|
||||
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
|
||||
.infinite-scroll .posts-navigation,
|
||||
.infinite-scroll.neverending .site-footer {
|
||||
|
@ -1603,13 +1461,13 @@ textarea {
|
|||
.black-blocs .wp-block-column h5,
|
||||
.black-blocs .wp-block-column h6 {
|
||||
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;
|
||||
line-height: 1.04;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
|
@ -1652,15 +1510,14 @@ textarea {
|
|||
border-color: #f6cc4c;
|
||||
background-color: #f6cc4c;
|
||||
color: #fff;
|
||||
font-family: din-medium;
|
||||
font-weight: 700;
|
||||
font-family: "din-medium";
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin: 0em;
|
||||
padding: 0rem;
|
||||
}
|
||||
|
||||
.wpcf7-form .contactform-name,
|
||||
.wpcf7-form .wpcf7-form .contactform-email {
|
||||
.wpcf7-form .contactform-name, .wpcf7-form .wpcf7-form .contactform-email {
|
||||
max-width: 40%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
@ -1691,10 +1548,8 @@ textarea {
|
|||
/*--------------------------------------------------------------
|
||||
# Utilities
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* Accessibility
|
||||
--------------------------------------------- */
|
||||
|
||||
/* Text meant only for screen readers. */
|
||||
.screen-reader-text {
|
||||
border: 0;
|
||||
|
@ -1737,20 +1592,16 @@ textarea {
|
|||
/* Alignments
|
||||
--------------------------------------------- */
|
||||
.alignleft {
|
||||
|
||||
/*rtl:ignore*/
|
||||
float: left;
|
||||
|
||||
/*rtl:ignore*/
|
||||
margin-right: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
|
||||
/*rtl:ignore*/
|
||||
float: right;
|
||||
|
||||
/*rtl:ignore*/
|
||||
margin-left: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
|
@ -1763,3 +1614,5 @@ textarea {
|
|||
margin-right: auto;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=style.css.map */
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue