asiaH8/assets/stylesheets/template/modules/web_resource.scss

81 lines
1.3 KiB
SCSS
Raw Normal View History

2021-04-19 03:11:55 +00:00
@charset "utf-8";
@import "../initial";
// Link MODULES
.widget-link {
// 在 layout-content 下的樣式
.widget-title {
@extend .unity-title;
}
&.widget1 {
.widget-content {
line-height: 2.5em;
border-bottom: 1px solid #cccccc;
transition: all .3s;
& + .widget-content {
}
.widget-content-title {
display: inline-block;
color: #443f2f;
2021-06-28 14:57:57 +00:00
font-size: 0.9375em;
2021-04-19 03:11:55 +00:00
padding-left: 25px;
transition: all .3s;
width:100%;
}
}
.widget-content:hover{
background: #4a7db3;
.widget-content-title{
color:white;
}
}
// 在 layout-footer 下的樣式
.layout-footer & {
.widget-content {
line-height: 2em;
border-top-color: $theme-gray;
}
}
}
}
// Link INDEX
.index-link {
.index-title {
@extend .unity-title;
}
&.index1 {
.index-content {
list-style-type: circle;
list-style-position: inside;
& + .index-content {
border-top: 1px dotted $theme-gray-light;
}
.index-context {
display: inline-block;
2021-06-28 14:57:57 +00:00
font-size: 0.8125em;
2021-04-19 03:11:55 +00:00
margin: 0 0 10px 2em;
color: darken($theme-gray-light, 20%);
}
}
.index-content-title {
font-family: $main-font;
2021-06-28 14:57:57 +00:00
font-size: 1em;
2021-04-19 03:11:55 +00:00
}
}
}