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

View File

@ -1,20 +1,17 @@
@include breakpoint(small){
// .dropdown.menu {
// li,.button {
// min-width: unset;
// margin:0;
// padding:0;
// }
// .button {
// background-color:$input-background;
// }
// }
//
// .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);
// }
.menu {
list-style:none;
.menu-item-has-children {
.sub-menu {
display:none;
}
&:hover {
.sub-menu {
display:inline-block;
}
}
}
}
}
@include breakpoint(medium){
}

View File

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

View File

@ -1,20 +1,17 @@
@include breakpoint(small){
// .dropdown.menu {
// li,.button {
// min-width: unset;
// margin:0;
// padding:0;
// }
// .button {
// background-color:$input-background;
// }
// }
//
// .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);
// }
.menu {
list-style:none;
.menu-item-has-children {
.sub-menu {
display:none;
}
&:hover {
.sub-menu {
display:inline-block;
}
}
}
}
}
@include breakpoint(medium){
}