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

118 lines
2.2 KiB
SCSS

@charset "utf-8";
@import "variables";
.internal-page{
.page-module-title{
display: block !important;
clear: both;
width: 100%;
font-size: 2.2em!important;
&:after{
background: url(/assets/titleicon.png) no-repeat left center;
display: block;
position: relative;
text-align: center;
content: '';
width: 100px;
height: 35px;
background-size: contain;
margin: auto;
}
// &:before{
// display: block;
// position: relative;
// text-align: center;
// content: '';
// height: 6px;
// width: 80px;
// background-color: $theme-color-second;
// margin-bottom: 0.2em;
// }
}
}
.unity-title {
span{
width: 100%;
text-align: center;
// display: flex;
// justify-content: center;
// align-items: center;
// flex-wrap: wrap;
&:after{
background: url(/assets/titleicon.png) no-repeat left center;
display: block;
position: relative;
text-align: center;
content: '';
width: 100px;
height: 35px;
background-size: contain;
margin: auto;
}
}
}
// Title
.unity-title {
color: #173463;
font-size: 2.2em;
font-weight: 900;
text-align: center;
line-height: 1em;
.layout-footer & {
margin-bottom: 0.625em;
border-bottom: none;
span {
display: inline;
margin-bottom: 0;
border-bottom: none;
}
}
}
.i-title{
font-size: 1.1rem;
line-height: 1.3;
font-weight: normal;
}
.i-subtitle{
font-size: 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;
}