fix some error

This commit is contained in:
chiu 2021-09-01 21:07:04 +08:00
parent a2f0a87b45
commit fe4e785c0a
9 changed files with 101 additions and 150 deletions

View File

@ -1,22 +0,0 @@
.response-content {
justify-self: auto;
}
.response-content {
justify-self: auto;
}
.response-content {
justify-self: auto;
}
.response-content {
justify-self: auto;
}
.response-content {
justify-self: auto;
}
.response-content {
justify-self: auto;
}
.response-content {
justify-self: auto;
}

View File

@ -28,6 +28,8 @@ a:focus {
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
object-fit: cover;
object-position: center;
} }
.admin-edit { .admin-edit {

View File

@ -85,12 +85,6 @@ $w-item-heading-font-size: 0.85rem;
$border-width: 0.25em; $border-width: 0.25em;
.response-content { .response-content {
justify-self: auto; justify-self: auto;
} }

View File

@ -62,33 +62,27 @@
.w-event_news__img-wrap{ .w-event_news__img-wrap{
height: 200px; height: 200px;
width: 200px; width: 200px;
@media(max-width: $screen-xs){ padding: 0;
width: 300px; margin: 0 0 1em 0;
height: 300px; @media(max-width: $screen-sm){
width: 90%;
height: auto;
margin: auto; margin: auto;
} }
margin: 0 0 1em 0; .w-event_news__img {
transition: all .5s ease-in-out;
position: relative !important;
transform: none !important;
max-width: none !important;
width: 100% !important;
height: 100% !important;
}
&:hover{ &:hover{
.captiondetail{
visibility: visible;
opacity: 1;
transition: opacity .5s ease-out;
}
.w-event_news__img{ .w-event_news__img{
transform: scale(1.5,1.5); transform: scale(1.5) !important;
transition: all .5s;
} }
} }
} }
.w-event_news__img{
width: 200px!important;
height: 200px!important;
@media(max-width: $screen-xs){
width: 300px!important;
height: 300px!important;
}
}
.w-event_news__img-wrap::before{ .w-event_news__img-wrap::before{
position: absolute; position: absolute;
z-index: 1; z-index: 1;
@ -101,18 +95,6 @@
border-style: solid; border-style: solid;
border-width: 40px 40px 0 0; border-width: 40px 40px 0 0;
} }
.captiondetail{
width: 200px;
height: 200px;
position: absolute;
left: 0;
opacity: 0;
background: #000000a6 url(/assets/hover.png) center center no-repeat;
@media(max-width: $screen-xs){
width: 300px;
height: 300px;
}
}
.index-event_news-5{ .index-event_news-5{
img{ img{
width: 100%; width: 100%;
@ -147,16 +129,16 @@
height: 100%; height: 100%;
} }
} }
@media(min-width:$screen-xs){ @media(min-width:$screen-sm){
height: 300px; height: 300px;
} }
@media(max-width:$screen-xs){ @media(max-width:$screen-sm){
margin-bottom: 1em; margin-bottom: 1em;
} }
} }
.i-event_news__item{ .i-event_news__item{
margin-bottom: 6em; margin-bottom: 6em;
@media(max-width:$screen-xs){ @media(max-width:$screen-sm){
margin-bottom: 6em; margin-bottom: 6em;
} }
} }
@ -384,9 +366,7 @@ background: linear-gradient(
@media screen and (min-width:1025px) and (max-width:1400px){ @media screen and (min-width:1025px) and (max-width:1400px){
height: 1025px; height: 1025px;
top: 164%; top: 164%;
background: linear-gradient( background: linear-gradient(338deg, transparent 63px, #fff 0);
338deg
, transparent 63px, #fff 0);
} }
@media screen and (min-width:769px) and (max-width:1025px){ @media screen and (min-width:769px) and (max-width:1025px){
height: 990px; height: 990px;
@ -395,9 +375,7 @@ background: linear-gradient(
@media screen and (min-width:$screen-xs) and (max-width:769px){ @media screen and (min-width:$screen-xs) and (max-width:769px){
top: 186%; top: 186%;
height: 10405px; height: 10405px;
background: linear-gradient( background: linear-gradient(338deg, transparent 38px, #fff 0);
338deg
, transparent 38px, #fff 0);
} }
@media(max-width:$screen-xs){ @media(max-width:$screen-xs){
height: 2131px; height: 2131px;

View File

@ -7,11 +7,6 @@
// //
.w-annc__img-wrap{ .w-annc__img-wrap{
&:hover{ &:hover{
.captiondetail{
visibility: visible;
opacity: 1;
transition: opacity .5s ease-out;
}
.w-annc__img{ .w-annc__img{
transform: scale(1.5,1.5); transform: scale(1.5,1.5);
transition: all .25s; transition: all .25s;

View File

@ -145,9 +145,11 @@ ul.tab_nav {
} }
} }
span.hover-picture { span.hover-picture {
display: inline-table; display: inline-block;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
height: 100%;
width: 100%;
} }
span.hover-picture-background { span.hover-picture-background {
background: rgba(0,0,0,.65) url("/assets/hover.png") center center no-repeat; background: rgba(0,0,0,.65) url("/assets/hover.png") center center no-repeat;

View File

@ -8,7 +8,7 @@
@include clearfix; @include clearfix;
.sitemenu-list{ .sitemenu-list{
li:first-child{ li.active{
color:#0032b2; color:#0032b2;
background: url(/assets/icon_sub-hover.png) -20px top no-repeat; background: url(/assets/icon_sub-hover.png) -20px top no-repeat;
} }

View File

@ -5,8 +5,9 @@
<ul class="w-annc__list" data-level="0" data-list="announcements"> <ul class="w-annc__list" data-level="0" data-list="announcements">
<li class="w-annc__item row"> <li class="w-annc__item row">
<div class="w-annc__img-wrap col-sm-4 bullseye"> <div class="w-annc__img-wrap col-sm-4 bullseye">
<a class="w-event_news__title" href="{{link_to_show}}">
<img class="w-annc__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}"> <img class="w-annc__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}">
<div class="captiondetail"></div> </a>
</div> </div>
<div class="w-annc__content-wrap col-sm-8"> <div class="w-annc__content-wrap col-sm-8">
<div class="w-annc__meta"> <div class="w-annc__meta">

View File

@ -5,8 +5,9 @@
<ul class="w-event_news__list" data-level="0" data-list="event_news"> <ul class="w-event_news__list" data-level="0" data-list="event_news">
<li class="w-event_news__item row"> <li class="w-event_news__item row">
<div class="w-event_news__img-wrap col-sm-4 bullseye"> <div class="w-event_news__img-wrap col-sm-4 bullseye">
<a class="w-event_news__title" href="{{link_to_show}}">
<img class="w-event_news__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}"> <img class="w-event_news__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}">
<div class="captiondetail"></div> </a>
</div> </div>
<div class="w-event_news__content-wrap col-sm-8"> <div class="w-event_news__content-wrap col-sm-8">
<div class="w-event_news__meta"> <div class="w-event_news__meta">