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

143 lines
2.7 KiB
SCSS

@charset "utf-8";
@import "variables";
.internal-page{
.page-module-title{
clear: both;
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;
// }
}
}
// .widget-title{
// border-bottom: 2px solid $theme-color-second;
// margin-top: 1em;
// span{
// background-color:$theme-color-second!important;
// color: #fff;
// font-size: 0.8em;
// &:before{
// display: none!important;
// }
// }
// }
.unity-title {
span{
width:100%;
display: flex;
padding:0.2em 0.3em;
align-items: center;
justify-content: center;
flex-wrap: wrap;
// &:before{
// background: url(/assets/titleicon.gif) 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 {
font-size: 2.5rem!important;
font-weight: bold;
color: #333333;
text-align: center;
border-bottom: 1px solid #333;
position: relative;
padding-bottom: 1em;
margin-bottom: 1em;
margin-top: 0;
&:before{
content: "自動化工程系";
color: #525252;
display: block;
width: 100%;
font-size: 0.5em;
}
&:after{
content: "\f103";
font-family: "Font Awesome 6 Free";
font-weight: 900;
background-color: #fff;
position: absolute;
bottom: -15px;
left: 49%;
font-size: 0.6em;
padding: 0.5em;
color: #416319;
}
.layout-footer & {
margin-bottom: 0.625em;
border-bottom: none;
span {
display: inline;
margin-bottom: 0;
border-bottom: none;
}
}
}
.i-title{
font-size: 1em;
line-height: 1.3;
font-weight: normal;
}
.i-subtitle{
font-size: 0.9rem;
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;
}