bumped version added features

This commit is contained in:
jorge-vitrubio 2024-03-12 14:21:52 +01:00
parent 7addbb6ed6
commit 032308252b
6 changed files with 154 additions and 128 deletions

View File

@ -17,7 +17,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.1.6
Version: 1.1.7
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later
@ -1400,6 +1400,10 @@ Add your custom styles in this file so it is easier to update the theme.
@media screen and (min-width: 48em) {
.edit-post-visual-editor__content-area .editor-styles-wrapper .site {
grid-template-columns: 1fr 2fr 2fr 1fr;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .site > header {
grid-column: 1 / -1;
}
@ -1418,7 +1422,7 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .editor-styles-wrapper .site-header {
display: grid;
grid-template-columns: 1fr minmax(0, 35em) minmax(0, 35em) 1fr;
grid-template-columns: 1fr 2fr 2fr 1fr;
grid-template-areas: "main " "secondary ";
margin: auto;
padding: 0;
@ -1493,8 +1497,6 @@ Add your custom styles in this file so it is easier to update the theme.
/* begin of menu-hidden */
/* end of menu hidden*/
/* Small menu. */
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .hide-content {
@ -1535,20 +1537,44 @@ Add your custom styles in this file so it is easier to update the theme.
display: flex;
align-items: center;
min-height: 100%;
padding: 0 0.5rem;
text-decoration: none;
font-size: 1rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current_page_item > a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current-menu-item > a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current_page_ancestor > a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current-menu-ancestor > a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation .current_page_item > a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation .current-menu-item > a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation .current_page_ancestor > a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation .current-menu-ancestor > a {
text-decoration: underline;
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled ul {
display: block;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .main-navigation-content {
display: inline-block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
padding: 4rem;
background-color: rgba(255, 255, 255, 0.95);
overflow: auto;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .menu-toggle {
position: relative;
z-index: 9999;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .current-menu-ancestor > a::after {
background-color: transparent;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .current-menu-item > a::after {
display: inline-block;
content: "";
position: absolute;
left: 0;
top: 2em;
height: 2px;
width: 100%;
background-color: #000;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation {
@ -1618,22 +1644,6 @@ Add your custom styles in this file so it is easier to update the theme.
font-size: 3rem;
font-weight: 700;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled ul {
display: block;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation.toggled .main-navigation-content {
display: inline-block;
position: absolute;
top: 5rem;
left: 0;
width: 100%;
height: calc(100vh - 25rem);
padding: 0 3rem;
background-color: #fff;
overflow: auto;
}
}
@media screen and (max-width: 47.99em) {
@ -1673,9 +1683,13 @@ Add your custom styles in this file so it is easier to update the theme.
display: flex;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul {
background-color: rgba(255, 255, 255, 0.8);
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .menu-item-has-children > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .menu-item-has-children > ul {
background-color: rgba(255, 255, 255, 0.95);
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu {
float: left;
position: absolute;
top: 100%;
@ -1683,26 +1697,31 @@ Add your custom styles in this file so it is easier to update the theme.
z-index: 99999;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul ul {
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu ul {
left: -999em;
top: 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul li:hover > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul li.focus > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul li:hover > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul li.focus > ul {
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu li:hover > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu li.focus > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu li:hover > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu li.focus > ul {
display: block;
left: 4em;
top: 1em;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul ul a {
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul .sub-menu a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul .sub-menu a {
width: 200px;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul li,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul li {
padding: 0 1em;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul li:hover > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul li.focus > ul,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation ul li:hover > ul,
@ -1710,11 +1729,6 @@ Add your custom styles in this file so it is easier to update the theme.
left: auto;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation a {
padding: 0 0.5rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation {
padding-bottom: 1em;
}
@ -1725,22 +1739,24 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul.sub-menu {
flex-direction: column;
padding: 1rem;
padding: 0.5rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation ul ul.sub-menu li {
margin: 0.5rem 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current-menu-item a::after {
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current-menu-ancestor > a::after,
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current-menu-item > a::after {
display: inline-block;
content: "";
position: absolute;
left: 5%;
left: 1em;
bottom: -0.5em;
min-height: 2px;
height: 100%;
width: 90%;
margin-top: 2.3em;
height: 2px;
width: calc(100% - 2em);
background-color: #000;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation {
@ -1814,18 +1830,9 @@ Add your custom styles in this file so it is easier to update the theme.
display: none;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation a,
.edit-post-visual-editor__content-area .editor-styles-wrapper .secondary-navigation a {
padding: 0 1rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation {
padding-bottom: 0;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .main-navigation .current-menu-item a::after {
margin-top: 5em;
}
}
@media screen {
@ -2234,7 +2241,6 @@ Add your custom styles in this file so it is easier to update the theme.
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filters section .filter {
display: inline-block;
width: 45%;
margin-top: 0.5rem;
margin-right: 0.3em;
@ -2244,6 +2250,12 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filters section .filter:last-of-type {
margin-bottom: 2rem;
}
.edit-post-visual-editor__content-area .editor-styles-wrapper .xarxaprod-filters section:last-of-type::after {
content: "";
display: inline-block;
width: 100%;
}
}
@media screen and (min-width: 48em) {
@ -2671,7 +2683,8 @@ Add your custom styles in this file so it is easier to update the theme.
}
.edit-post-visual-editor__content-area .editor-styles-wrapper h1,
.edit-post-visual-editor__content-area .editor-styles-wrapper figure {
.edit-post-visual-editor__content-area .editor-styles-wrapper figure,
.edit-post-visual-editor__content-area .editor-styles-wrapper button {
margin-left: auto;
margin-right: auto;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.1.6
Version: 1.1.7
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later

135
style.css
View File

@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.1.6
Version: 1.1.7
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later
@ -1262,6 +1262,10 @@ textarea {
@media screen and (min-width: 48em) {
.site {
grid-template-columns: 1fr 2fr 2fr 1fr;
}
.site > header {
grid-column: 1 / -1;
}
@ -1280,7 +1284,7 @@ textarea {
.site-header {
display: grid;
grid-template-columns: 1fr minmax(0, 35em) minmax(0, 35em) 1fr;
grid-template-columns: 1fr 2fr 2fr 1fr;
grid-template-areas: "main " "secondary ";
margin: auto;
padding: 0;
@ -1394,20 +1398,44 @@ textarea {
display: flex;
align-items: center;
min-height: 100%;
padding: 0 0.5rem;
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,
.secondary-navigation .current-menu-item > a,
.secondary-navigation .current_page_ancestor > a,
.secondary-navigation .current-menu-ancestor > a {
text-decoration: underline;
.main-navigation.toggled ul {
display: block;
}
.main-navigation.toggled .main-navigation-content {
display: inline-block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
padding: 4rem;
background-color: rgba(255, 255, 255, 0.95);
overflow: auto;
}
.main-navigation.toggled .menu-toggle {
position: relative;
z-index: 9999;
}
.main-navigation.toggled .current-menu-ancestor > a::after {
background-color: transparent;
}
.main-navigation.toggled .current-menu-item > a::after {
display: inline-block;
content: "";
position: absolute;
left: 0;
top: 2em;
height: 2px;
width: 100%;
background-color: #000;
}
.secondary-navigation {
@ -1480,23 +1508,6 @@ textarea {
}
/* end of menu hidden*/
/* Small menu. */
.main-navigation.toggled ul {
display: block;
}
.main-navigation.toggled .main-navigation-content {
display: inline-block;
position: absolute;
top: 5rem;
left: 0;
width: 100%;
height: calc(100vh - 25rem);
padding: 0 3rem;
background-color: #fff;
overflow: auto;
}
}
@media screen and (max-width: 47.99em) {
@ -1526,9 +1537,13 @@ textarea {
display: flex;
}
.main-navigation ul ul,
.secondary-navigation ul ul {
background-color: rgba(255, 255, 255, 0.8);
.main-navigation ul .menu-item-has-children > ul,
.secondary-navigation ul .menu-item-has-children > ul {
background-color: rgba(255, 255, 255, 0.95);
}
.main-navigation ul .sub-menu,
.secondary-navigation ul .sub-menu {
float: left;
position: absolute;
top: 100%;
@ -1536,26 +1551,31 @@ textarea {
z-index: 99999;
}
.main-navigation ul ul ul,
.secondary-navigation ul ul ul {
.main-navigation ul .sub-menu ul,
.secondary-navigation ul .sub-menu 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,
.secondary-navigation ul ul li.focus > ul {
.main-navigation ul .sub-menu li:hover > ul,
.main-navigation ul .sub-menu li.focus > ul,
.secondary-navigation ul .sub-menu li:hover > ul,
.secondary-navigation ul .sub-menu li.focus > ul {
display: block;
left: 4em;
top: 1em;
}
.main-navigation ul ul a,
.secondary-navigation ul ul a {
.main-navigation ul .sub-menu a,
.secondary-navigation ul .sub-menu a {
width: 200px;
}
.main-navigation ul li,
.secondary-navigation ul li {
padding: 0 1em;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul,
.secondary-navigation ul li:hover > ul,
@ -1563,11 +1583,6 @@ textarea {
left: auto;
}
.main-navigation a,
.secondary-navigation a {
padding: 0 0.5rem;
}
.main-navigation {
padding-bottom: 1em;
}
@ -1578,22 +1593,24 @@ textarea {
.main-navigation ul ul.sub-menu {
flex-direction: column;
padding: 1rem;
padding: 0.5rem;
}
.main-navigation ul ul.sub-menu li {
margin: 0.5rem 0;
}
.main-navigation .current-menu-item a::after {
.main-navigation .current-menu-ancestor > a::after,
.main-navigation .current-menu-item > a::after {
display: inline-block;
content: "";
position: absolute;
left: 5%;
left: 1em;
bottom: -0.5em;
min-height: 2px;
height: 100%;
width: 90%;
margin-top: 2.3em;
height: 2px;
width: calc(100% - 2em);
background-color: #000;
}
.secondary-navigation {
@ -1673,18 +1690,9 @@ textarea {
display: none;
}
.main-navigation a,
.secondary-navigation a {
padding: 0 1rem;
}
.main-navigation {
padding-bottom: 0;
}
.main-navigation .current-menu-item a::after {
margin-top: 5em;
}
}
/* Posts and pages
@ -2085,7 +2093,6 @@ textarea {
}
.xarxaprod-filters section .filter {
display: inline-block;
width: 45%;
margin-top: 0.5rem;
margin-right: 0.3em;
@ -2095,6 +2102,12 @@ textarea {
.xarxaprod-filters section .filter:last-of-type {
margin-bottom: 2rem;
}
.xarxaprod-filters section:last-of-type::after {
content: "";
display: inline-block;
width: 100%;
}
}
@media screen and (min-width: 48em) {

File diff suppressed because one or more lines are too long