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

210 lines
3.0 KiB
SCSS

@charset "utf-8";
@import "../initial";
//
// Index
//
// Member Index
// ## Gerneral styles for Index
// Index 1
.index-member-1 {
.i-member-tr-head {
&:nth-child(1n+2) {
display: none;
}
th {
background: $theme-color-main;
color: #fff;
}
}
}
// Index 2
.index-member-2 {
.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;
}
// 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-list {
display: flex;
flex-flow: row wrap;
margin: 0;
}
.i-member-item {
background: #f1f1f1 none repeat scroll 0 0;
border-radius: 5px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
float: none;
margin: 0 1% 30px;
padding: 20px;
width: 48%;
}
.i-member-item-inner {
height: auto !important;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
}
.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 {
}
}
@media screen and (min-width: $screen-md) {
.i-member-pic-wrap {
position: relative;
overflow: hidden;
}
}
}
// 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;
}
}
}
// Show page
.show-member {
font-family: $sub-font;
th, td {
font-size: 0.9375em;
}
.member-plugins {
margin: 20px 0;
a {
font-size: 0.9375em;
}
}
}