asiaH1/assets/stylesheets/template/modules/member.scss

214 lines
4.2 KiB
SCSS
Raw Normal View History

2021-04-19 01:56:04 +00:00
@charset "utf-8";
@import "../initial";
//
// Index
//
// Member Index
// ## Gerneral styles for Index
// Index 1
.index-member-1 {
.i-member__status-title {
font-size: 1.2rem !important;
color: #4C7397;
font-weight: 700;
@extend .unity-title;
}
.member-data-value-name { width: 27%;}
.i-member-tr-head {
&:nth-child(1n+2) {
display: none;
}
th {
color: #977F4C;
font-size: 0.8125em;
white-space: nowrap;
border-top: 2px solid #977F4c;
border-bottom: 1px solid #977F4C;
}
}
}
// Index 2
.index-member-2 {
.i-member-section {
max-width: 500px;
margin: auto;
}
.i-member-status-title {
font-size: 1.2rem !important;
color: #4C7397;
font-weight: 700;
@extend .unity-title;
}
.i-member-item-inner {
background: none;
border-radius: 0.25rem;
padding: 24px 1rem;
margin-bottom: 16px;
}
.i-member-pic-wrap {
height: auto;
margin-bottom: 16px;
}
.i-member-pic {
width: 100%;
}
.member-data-value-positions > ul, .member-data-value-expertise > ul {
list-style-type: decimal;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 8px;
font-size: $font-13;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
background: $theme-gray-lighter;
}
}
}
// // Index 3
.index-member-3 {
.i-member-section {
max-width: 500px;
margin: auto;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
border-radius: 0.25rem;
padding: 24px 1rem;
margin-bottom: 16px;
}
.i-member-pic-wrap {
height: auto;
margin-bottom: 16px;
}
.i-member-pic {
width: 100%;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 8px;
font-size: $font-13;
}
.i-member-item:nth-child(odd) {
clear: both;
}
.i-member-item-inner {}
.i-member-pic-wrap {
padding: 0;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
background: $theme-gray-lighter;
}
}
@media screen and (min-width: $screen-md) {
.i-member-pic-wrap {
position: relative;
overflow: hidden;
height: 125px;
}
.i-member-pic {
}
}
}
2021-06-28 14:43:33 +00:00
// Index 4
.index-member-4 {
.i-member-section {
max-width: 500px;
margin: auto;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
border-radius: 0.25rem;
padding: 12px 1rem;
margin-bottom: 16px;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 8px;
font-size: $font-13;
word-break: break-word;
}
.i-member-item:nth-child(6n+1) {
clear: both;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
background: $theme-gray-lighter;
}
}
}
2021-04-19 01:56:04 +00:00
// Show page
.show-member {
padding-top: 1em;
font-family: $sub-font;
th {
color: #977F4C;
font-size: 0.8125em;
white-space: nowrap;
border-top: 1px solid #977F4c !important;
border-bottom: 1px solid #977F4C;
}
th, td {
font-size: .8125rem;
border-top: 1px solid #977F4c !important;
border-bottom: 1px solid #977F4C;
a {
color: #977F4C;
&:hover {
color: darken($color: #977F4C, $amount: 10)
}
}
}
.member-plugins {
margin: 20px 0;
a {
font-size: .8125rem;
color: #977F4C;
&:hover {
color: darken($color: #977F4C, $amount: 10)
}
}
}
}