nfu-ctld/assets/stylesheets/template/base/_unity.scss

132 lines
2.4 KiB
SCSS

@charset "utf-8";
@import "variables";
.internal-page{
.page-module-title{
display: block !important;
text-align: left !important;
// &:before{
// display: block;
// position: relative;
// text-align: center;
// content: '';
// height: 6px;
// width: 80px;
// background-color: $theme-color-second;
// margin-bottom: 0.2em;
// }
}
}
.i-archive-title{
span{
&:before{
background: url(/assets/nav_icon_regulation.png) no-repeat left center!important;
}
}
}
.w-annc__widget-title,.i-annc__page-title{
span{
&:before{
background: url(/assets/content_icon_hp_menu.png) no-repeat left center!important;
}
}
}
.w-annc__widget-title2{
span{
&:before{
background: url(/assets/content_icon_hp_spot.png) no-repeat left center!important;
}
}
}
.widget-title{
span{
&:before{
background: url(/assets/content_icon_hp_link.png) no-repeat left center!important;
}
}
}
.unity-title {
span{
width: 100%;
display: flex;
align-items: center;
flex-wrap: wrap;
&:before{
background: url(/assets/titleicon.png) no-repeat left center;
display: block;
position: relative;
text-align: center;
content: '';
width: 35px;
height: 35px;
background-size: contain;
margin-bottom: 0.3em;
margin-right: 0.3em;
}
}
}
// Title
.unity-title {
line-height: 1.5;
font-size: $font-h3;
font-weight: bold;
color: $theme-color-main;
text-align: center;
border-bottom: 1px #768186 solid;
.layout-footer & {
margin-bottom: 0.625em;
border-bottom: none;
span {
display: inline;
margin-bottom: 0;
border-bottom: none;
}
}
}
.i-title{
font-size: 1.2rem;
line-height: 1.3;
font-weight: normal;
}
.i-subtitle{
font-size: 1.1rem;
font-weight: normal;
}
.metadata-date{
list-style: none;
}
//transition
.transition {
cursor: pointer;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
}
.status {
font-family: $main-font;
font-size: 0.750em;
}
.status-top {
background-color: $theme-color-main;
}
.status-hot {
background-color: $theme-color-third;
}
.status-source {
background-color: $theme-color-main;
a {
color: $theme-white;
}
}
ol, ul{
padding-left: 1.6em;
}