|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/nandedex/www/wp-content/themes/colormag/assets/sass/layouts/header/ |
/* Header.
--------------------------------------------- */
.cm-header {
background-color: $color__white;
}
.cm-site-branding {
img {
width: auto;
margin-bottom: 0;
}
a {
display: block;
}
}
.cm-site-title {
margin-bottom: 0;
font-size: 40px;
line-height: 1.5;
a {
color: $color__primary;
}
}
.cm-site-description {
line-height: 1.8;
font-size: 16px;
color: $color__gray-600;
margin: length( 'l-2' ) 0 0 0;
font-family: "Open Sans", serif;
word-break: break-word;
}
.header-image {
margin-bottom: 0;
border-bottom: 1px solid $color__gray-200;
width: 100%;
}
.cm-header-col-1 {
display: flex;
justify-content: center;
flex-direction: column;
gap: 16px;
flex-basis: 30%;
}
.cm-header-col-2 {
.widget {
text-align: right;
color: $color__gray-700;
.cm-widget-title {
font-size: 18px;
line-height: 1.2;
padding-bottom: length( 'l-2' );
}
}
.wp-block-image {
margin: 0;
}
img {
margin-bottom: 0;
}
}
.cm-header-2 {
.cm-row {
display: flex;
}
}
/* For header display type one */
.header_display_type_one {
.cm-header-1 {
.cm-row {
flex-direction: row-reverse;
}
}
.cm-header-col-2 .widget {
text-align: left;
}
}
/* For header display type two */
.header_display_type_two {
.cm-header-1 {
.cm-row {
flex-direction: column;
}
}
.cm-header-col-1 {
flex-direction: column;
float: none;
text-align: center;
justify-content: center;
}
.cm-site-branding {
padding-right: 0;
}
#cm-site-info {
padding-right: 0;
}
.cm-header-col-2 {
.widget {
color: $color__gray-700;
text-align: center;
}
}
}
.cm-menu-toggle {
display: flex;
cursor: pointer;
}
.cm-contained {
.cm-header-2 {
#cm-primary-nav {
box-shadow: 0 0 0 rgba(0, 0, 0, 0) inset;
position: relative;
background-color: transparent;
border-top: 0 solid transparent;
z-index: 999;
}
.cm-row {
background-color: $color__background-news;
border-top: 4px solid #289dcc;
}
}
}
@include breakpoint("mdm") {
.cm-menu-toggle {
display: none;
}
}