asiaH6/assets/stylesheets/template/template.scss

171 lines
3.2 KiB
SCSS
Raw Permalink Normal View History

2021-04-19 03:11:42 +00:00
@import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700");
// Base
@import "base/orbitbar-override";
@import "base/sitemap-override";
@import "base/global";
@import "base/unity";
@import "base/utilities";
@import "base/pagination";
@import "base/accesskey";
@import "base/go_back_top";
@import "base/ckeditor-reset";
// Layout
@import "layout/*";
// Modules
@import "modules/*";
// Widget
@import "widget/*";
2021-05-03 02:08:48 +00:00
.content_background{
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
2021-04-19 03:11:42 +00:00
}
.breadcrumb {
background: transparent;
border: 2px solid #ddd;
border-radius: 0;
margin-left: 0;
margin-top: 30px;
a {
color: $theme-color-second;
&:hover {
text-decoration: underline;
}
}
}
.empty-column{
display: none;
}
.black-screen{
position: fixed;
width: 100%;
height: 100%;
opacity: 0;
top: -20000px;
background: rgba(0,0,0,.7);
z-index: 1000;
left: 0;
transition:opacity .3s ,top 0s .3s;
&.active{
opacity: 1;
top:0;
transition:opacity .3s;
.content{
transform:translate(-50%,-50%);
opacity: 1;
top:50%;
left: 50%;
// box-shadow: #dcabff 0px 0px 150px;
transition:opacity 1s .8s,top .5s .7s ;
}
}
.content{
background: #fff;
color:#666;
font-family: '微軟正黑體','sans-serif';
position: absolute;
opacity: 0;
left:-20000px;
top:60%;
transform:translate(-50%,-50%);
transform-origin:center;
width: 90%;
font-weight: bold;
transition:opacity .5s ,top .5s, left 0s .5s;
padding: 2px;
2021-06-16 07:52:16 +00:00
@media (min-width: 768px){
width: 40%;
padding: 30px;
}
@media (max-width: 767px){
padding: 30px 10px;
}
2021-04-19 03:11:42 +00:00
.close-btn{
position: absolute;
right: 0;
2021-06-16 07:52:16 +00:00
top:0;
2021-04-19 03:11:42 +00:00
padding: 5px 10px;
background: $theme-color-main;
color:#fff;
2021-06-28 10:23:54 +00:00
font-size: 1.125em;
2021-04-19 03:11:42 +00:00
transition:.3s;
&:hover{
background: $theme-color-second;
}
}
}
}
@media (min-width: 769px) {
.bgBanner img {
min-height: 498px!important;
}
}
@media (max-width: 768px) {
.navbar-header .navbar-brand,
img.site-logo
{
float: none!important;
display: block;
text-align: center;
margin: auto!important;
}
.layout-header .navbar-header .navbar-brand {
height:15vh;
padding-top: 0;
padding-bottom: 0;
}
.bgBanner img {
min-height: 320px!important;
}
}
.underMenu {
clear: both;
}
.bgBanner img {
width: 100%!important;
}
.bgBanner {
position: absolute;
top: 218px;
left: 0;
width: 100%;
min-height: 30px;
2021-05-03 02:08:48 +00:00
}
.w-ba-banner.ad-banner-widget-1.ba-banner-widget-1,
.slide {
2021-06-16 07:52:16 +00:00
padding: 0;
height: 458px;
2021-05-03 02:08:48 +00:00
}
.ad-overlay.w-ba-banner__caption.w-ad-banner__caption {
2021-10-14 04:38:36 +00:00
//bottom: 55px;
2021-06-16 07:52:16 +00:00
height: 60px;
padding: 0 10px;
2021-05-06 01:19:15 +00:00
text-align: center;
2021-06-16 07:52:16 +00:00
overflow: hidden;
p{
display: none;
}
2021-05-03 02:08:48 +00:00
}
span.w-annc__category-wrap.col-sm-2 {
width: 90px;
}
span.w-annc__postdate-wrap.col-sm-2 {
position: absolute;
left: 0;
top: 50px;
}
h4.w-annc__entry-title.col-sm-9 {
width: 190px;
2021-10-14 04:38:36 +00:00
}