mods in resources submenu and tags

This commit is contained in:
jorge 2022-04-08 03:02:31 +02:00
parent 04fedfcda2
commit 1789004538
6 changed files with 191 additions and 130 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
_* _off
_codenotes.txt
originalPHPfiles/ originalPHPfiles/
FoundationPress/ FoundationPress/
.DS_Store .DS_Store

File diff suppressed because one or more lines are too long

View File

@ -13,19 +13,19 @@ header nav,
h1,h2,h3,h4,h5,h6, h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h4,.h5,.h6 { .h1,.h2,.h3,.h4,.h4,.h5,.h6 {
font-variant:all-small-caps; font-variant:all-small-caps;
a { a {
color: $body-font-color; color: $body-font-color;
} }
} }
.excerpt,.post-excerpt{ .excerpt,.post-excerpt{
a { a {
color: $body-font-color; color: $body-font-color;
&:hover { &:hover {
p { p {
color: $anchor-color; color: $anchor-color;
} }
} }
} }
} }
@ -122,22 +122,22 @@ main {
padding-top: $global-padding*2; padding-top: $global-padding*2;
} }
.entry-title { .entry-title {
padding-top: $global-padding*2; padding-top: $global-padding*2;
line-height: 0.7; line-height: 0.7;
font-size: $global-font-size*1.5; font-size: $global-font-size*1.5;
} }
} }
} }
aside { aside {
@include breakpoint(small){ @include breakpoint(small){
padding-top:0; padding-top:0;
padding-bottom: $global-padding*3; padding-bottom: $global-padding*3;
} }
@include breakpoint(medium){ @include breakpoint(medium){
padding-top: $global-padding*3; padding-top: $global-padding*3;
padding-bottom: 0; padding-bottom: 0;
} }
} }
&.resources { &.resources {
@include xy-grid; @include xy-grid;
@ -207,10 +207,9 @@ main {
} }
// end news & resources category // end news & resources category
// //
// partners // partners
// for big announcemnts //---------------------
//---------------------
.partners { .partners {
.entry-content { .entry-content {
@ -236,8 +235,8 @@ main {
.wp-block-image { .wp-block-image {
margin: 0; margin: 0;
} }
} }
} }
// //
// hero // hero
@ -274,12 +273,10 @@ main {
max-width: 50rem; max-width: 50rem;
margin:auto; margin:auto;
padding: $global-padding * 2; padding: $global-padding * 2;
//font-size: $global-font-size*1.3;
} }
} }
@include breakpoint(large){ @include breakpoint(large){
width: 50%; width: 50%;
//height: calc((50vw*9)/16);
padding: 0; padding: 0;
margin: 0; margin: 0;
overflow:hidden; overflow:hidden;
@ -287,10 +284,6 @@ main {
@include flex; @include flex;
@include flex-align (center,middle); @include flex-align (center,middle);
} }
img {
//height: 100% !important;
//width: 100%;
}
&.widget_text p,.textwidget { &.widget_text p,.textwidget {
font-size: $global-font-size*1.1; font-size: $global-font-size*1.1;
padding: $global-padding * 2; padding: $global-padding * 2;
@ -308,13 +301,6 @@ main {
padding: $global-padding*3; padding: $global-padding*3;
} }
} }
&:nth-child(odd) {
background-color: $primary-color;
font-variant:all-small-caps;
* {
color: $white;
}
}
color: $white; color: $white;
.logo { .logo {
@ -323,11 +309,28 @@ main {
} }
} }
} }
//&.announcement.top { &.primary{
.slide:nth-child(odd) {
background-color: $primary-color;
font-variant: all-small-caps;
* {
color: $white;
}
}
}
&.secondary {
.slide,.slide:nth-child(odd) {
background-color: $white;
}
}
&.announcement { &.announcement {
.slide { .slide {
width: 100%; width: 100%;
} }
}
&.announcement.middle {
border-top: none;
margin-top: $global-margin*2;
.widget_nav_menu,.widget_tag_cloud { .widget_nav_menu,.widget_tag_cloud {
width: auto; width: auto;
} }
@ -335,6 +338,18 @@ main {
h6 { h6 {
display:none; display:none;
} }
.tagcloud {
display: none;
}
&:before {
content: '#tags';
color: $primary-color;
}
&:hover{
.tagcloud {
display: inline-block;
}
}
a{ a{
display: inline; display: inline;
} }
@ -346,24 +361,18 @@ main {
ul { ul {
margin: 2rem 0; margin: 2rem 0;
} }
a {
//border: 1px solid black;
//border-radius: 2rem;
//padding: 1rem;
//color:blue;
}
} }
} }
aside { aside {
@include xy-grid(); @include xy-grid();
background-color: $secondary-color; // background-color: $secondary-color;
.slides { .slides {
width: 100%; width: 100%;
.slide { .slide {
width: 100%; width: 100%;
&:nth-child(odd) { // &:nth-child(odd) {
background-color: $secondary-color; // background-color: $secondary-color;
} // }
} }
} }
nav { nav {
@ -380,6 +389,30 @@ main {
} }
} }
} }
&.hero-main {
aside {
background-color: $secondary-color;
.slides {
.slide {
&:nth-child(odd) {
background-color: $secondary-color;
}
}
}
}
}
&.hero-announcement {
// aside {
// background-color: $white;
// .slides {
// .slide {
// &:nth-child(odd) {
// background-color: $white;
// }
// }
// }
// }
}
//hero secondary //hero secondary
&.secondary { &.secondary {
border-top: none; border-top: none;

View File

@ -1,20 +1,17 @@
@include breakpoint(small){ @include breakpoint(small){
// .dropdown.menu { .menu {
// li,.button { list-style:none;
// min-width: unset; .menu-item-has-children {
// margin:0; .sub-menu {
// padding:0; display:none;
// } }
// .button { &:hover {
// background-color:$input-background; .sub-menu {
// } display:inline-block;
// } }
// }
// .is-dropdown-submenu { }
// font-size: $dropdown-font-size * 0.95; }
// min-width: 10rem;
// box-shadow: 0 3px 5px 3px rgba(200, 200, 200, 0.1);
// }
} }
@include breakpoint(medium){ @include breakpoint(medium){
} }

View File

@ -13,19 +13,19 @@ header nav,
h1,h2,h3,h4,h5,h6, h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h4,.h5,.h6 { .h1,.h2,.h3,.h4,.h4,.h5,.h6 {
font-variant:all-small-caps; font-variant:all-small-caps;
a { a {
color: $body-font-color; color: $body-font-color;
} }
} }
.excerpt,.post-excerpt{ .excerpt,.post-excerpt{
a { a {
color: $body-font-color; color: $body-font-color;
&:hover { &:hover {
p { p {
color: $anchor-color; color: $anchor-color;
} }
} }
} }
} }
@ -122,22 +122,22 @@ main {
padding-top: $global-padding*2; padding-top: $global-padding*2;
} }
.entry-title { .entry-title {
padding-top: $global-padding*2; padding-top: $global-padding*2;
line-height: 0.7; line-height: 0.7;
font-size: $global-font-size*1.5; font-size: $global-font-size*1.5;
} }
} }
} }
aside { aside {
@include breakpoint(small){ @include breakpoint(small){
padding-top:0; padding-top:0;
padding-bottom: $global-padding*3; padding-bottom: $global-padding*3;
} }
@include breakpoint(medium){ @include breakpoint(medium){
padding-top: $global-padding*3; padding-top: $global-padding*3;
padding-bottom: 0; padding-bottom: 0;
} }
} }
&.resources { &.resources {
@include xy-grid; @include xy-grid;
@ -207,10 +207,9 @@ main {
} }
// end news & resources category // end news & resources category
// //
// partners // partners
// for big announcemnts //---------------------
//---------------------
.partners { .partners {
.entry-content { .entry-content {
@ -236,8 +235,8 @@ main {
.wp-block-image { .wp-block-image {
margin: 0; margin: 0;
} }
} }
} }
// //
// hero // hero
@ -274,12 +273,10 @@ main {
max-width: 50rem; max-width: 50rem;
margin:auto; margin:auto;
padding: $global-padding * 2; padding: $global-padding * 2;
//font-size: $global-font-size*1.3;
} }
} }
@include breakpoint(large){ @include breakpoint(large){
width: 50%; width: 50%;
//height: calc((50vw*9)/16);
padding: 0; padding: 0;
margin: 0; margin: 0;
overflow:hidden; overflow:hidden;
@ -287,10 +284,6 @@ main {
@include flex; @include flex;
@include flex-align (center,middle); @include flex-align (center,middle);
} }
img {
//height: 100% !important;
//width: 100%;
}
&.widget_text p,.textwidget { &.widget_text p,.textwidget {
font-size: $global-font-size*1.1; font-size: $global-font-size*1.1;
padding: $global-padding * 2; padding: $global-padding * 2;
@ -308,13 +301,6 @@ main {
padding: $global-padding*3; padding: $global-padding*3;
} }
} }
&:nth-child(odd) {
background-color: $primary-color;
font-variant:all-small-caps;
* {
color: $white;
}
}
color: $white; color: $white;
.logo { .logo {
@ -323,11 +309,28 @@ main {
} }
} }
} }
//&.announcement.top { &.primary{
.slide:nth-child(odd) {
background-color: $primary-color;
font-variant: all-small-caps;
* {
color: $white;
}
}
}
&.secondary {
.slide,.slide:nth-child(odd) {
background-color: $white;
}
}
&.announcement { &.announcement {
.slide { .slide {
width: 100%; width: 100%;
} }
}
&.announcement.middle {
border-top: none;
margin-top: $global-margin*2;
.widget_nav_menu,.widget_tag_cloud { .widget_nav_menu,.widget_tag_cloud {
width: auto; width: auto;
} }
@ -335,6 +338,18 @@ main {
h6 { h6 {
display:none; display:none;
} }
.tagcloud {
display: none;
}
&:before {
content: '#tags';
color: $primary-color;
}
&:hover{
.tagcloud {
display: inline-block;
}
}
a{ a{
display: inline; display: inline;
} }
@ -346,24 +361,18 @@ main {
ul { ul {
margin: 2rem 0; margin: 2rem 0;
} }
a {
//border: 1px solid black;
//border-radius: 2rem;
//padding: 1rem;
//color:blue;
}
} }
} }
aside { aside {
@include xy-grid(); @include xy-grid();
background-color: $secondary-color; // background-color: $secondary-color;
.slides { .slides {
width: 100%; width: 100%;
.slide { .slide {
width: 100%; width: 100%;
&:nth-child(odd) { // &:nth-child(odd) {
background-color: $secondary-color; // background-color: $secondary-color;
} // }
} }
} }
nav { nav {
@ -380,6 +389,30 @@ main {
} }
} }
} }
&.hero-main {
aside {
background-color: $secondary-color;
.slides {
.slide {
&:nth-child(odd) {
background-color: $secondary-color;
}
}
}
}
}
&.hero-announcement {
// aside {
// background-color: $white;
// .slides {
// .slide {
// &:nth-child(odd) {
// background-color: $white;
// }
// }
// }
// }
}
//hero secondary //hero secondary
&.secondary { &.secondary {
border-top: none; border-top: none;

View File

@ -1,20 +1,17 @@
@include breakpoint(small){ @include breakpoint(small){
// .dropdown.menu { .menu {
// li,.button { list-style:none;
// min-width: unset; .menu-item-has-children {
// margin:0; .sub-menu {
// padding:0; display:none;
// } }
// .button { &:hover {
// background-color:$input-background; .sub-menu {
// } display:inline-block;
// } }
// }
// .is-dropdown-submenu { }
// font-size: $dropdown-font-size * 0.95; }
// min-width: 10rem;
// box-shadow: 0 3px 5px 3px rgba(200, 200, 200, 0.1);
// }
} }
@include breakpoint(medium){ @include breakpoint(medium){
} }