88 lines
1.5 KiB
SCSS
88 lines
1.5 KiB
SCSS
|
@charset "utf-8";
|
||
|
|
||
|
@import "../initial";
|
||
|
|
||
|
// Link MODULES
|
||
|
.widget-link {
|
||
|
// 在 layout-content 下的樣式
|
||
|
.widget-title {
|
||
|
@extend .unity-title;
|
||
|
}
|
||
|
|
||
|
&.widget1 {
|
||
|
.link-img-wrap{
|
||
|
height: 5rem;
|
||
|
justify-content: center;
|
||
|
text-align: center;
|
||
|
display: flex;
|
||
|
}
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
padding-bottom: 2em;
|
||
|
padding-left: 1em;
|
||
|
.widget-content {
|
||
|
line-height: 2.5em;
|
||
|
width: 21%;
|
||
|
@media(max-width: 768px){
|
||
|
width: 45%;
|
||
|
margin-left: 2%;
|
||
|
}
|
||
|
|
||
|
|
||
|
& + .widget-content {
|
||
|
}
|
||
|
|
||
|
.widget-content-title {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// 在 layout-footer 下的樣式
|
||
|
.layout-footer & {
|
||
|
.widget-content {
|
||
|
line-height: 2em;
|
||
|
border-top-color: $theme-green-light;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Link INDEX
|
||
|
.index-link {
|
||
|
.index-title {
|
||
|
@extend .unity-title;
|
||
|
}
|
||
|
|
||
|
&.index1 {
|
||
|
.index-content {
|
||
|
|
||
|
& + .index-content {
|
||
|
border-top: 0.0625em dotted $theme-gray-light;
|
||
|
}
|
||
|
|
||
|
.index-context {
|
||
|
display: inline-block;
|
||
|
font-size: 0.813em;
|
||
|
margin: 0 0 0.625em 2em;
|
||
|
color: darken($theme-gray-light, 20%);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.index-content-title {
|
||
|
font-family: $main-font;
|
||
|
font-size: 1em;
|
||
|
}
|
||
|
}
|
||
|
&.index2 {
|
||
|
.list-unstyled {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.index-content {
|
||
|
padding: 1em;
|
||
|
}
|
||
|
.status-top {
|
||
|
line-height: 2.5;
|
||
|
}
|
||
|
}
|
||
|
}
|