nfu_new2_bo5/assets/stylesheets/template/base/_unity.scss

133 lines
2.4 KiB
SCSS

@charset "utf-8";
@import "variables";
.internal-page{
.unity-title{
margin-top: 1em;
}
.page-module-title{
display: block !important;
text-align: left !important;
margin-top: 1em;
&:before{
display: block;
position: relative;
text-align: center;
content: '';
height: 6px;
width: 80px;
background-color:$theme-color-second;
margin-bottom: 0.2em;
}
}
}
.page-home{
.unity-title {
span{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
&: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-top: 9px;
margin-right: 4px;
}
}
}
}
// Title
.unity-title {
clear: both;
line-height: 1.5;
font-family: "Noto Serif TC", sans-serif;
font-size: $font-h3;
font-weight: bold;
color: $theme-color-second;
// text-align: center;
// display: flex;
// justify-content: center;
// flex-wrap: wrap;
.layout-footer & {
margin-bottom: 0.625em;
border-bottom: none;
span {
display: inline;
margin-bottom: 0;
border-bottom: none;
}
}
}
.bigtitle{
font-family: "Noto Serif TC", sans-serif;
font-weight: bold;
padding-left: 0.3em;
border-left: 4px solid #a2008f;
color: #a2008f;
align-items: center;
display: flex;
@media(max-width:$screen-xs){
font-size: 1em !important;
}
&:after{
content: '';
width: 200px;
height: 23px;
position: relative;
display: block;
background: linear-gradient(to right, #fbe5f2, #ffffff);
margin-left: 0.5em;
}
}
.i-title{
font-size: 1.1em;
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;
}