|
|
|
@ -8,7 +8,6 @@ |
|
|
|
|
&:first-child{ |
|
|
|
|
margin-top: 0; |
|
|
|
|
} |
|
|
|
|
// margin-left: @gap; |
|
|
|
|
border-radius: @border_radius; |
|
|
|
|
.enable-trans(); |
|
|
|
|
&:hover { |
|
|
|
@ -26,10 +25,8 @@ |
|
|
|
|
width: 100%; |
|
|
|
|
} |
|
|
|
|
@media(max-width: @on_phone) { |
|
|
|
|
border-radius: 0; |
|
|
|
|
&:hover { |
|
|
|
|
box-shadow: @boxshadow_card_normal; |
|
|
|
|
} |
|
|
|
|
width: ~"calc(100% - 2 * @{gap})"; |
|
|
|
|
margin: @gap @gap 0 @gap; |
|
|
|
|
} |
|
|
|
|
max-height: ~"calc(100% - @{height_navbar} - 4 * @{gap})"; |
|
|
|
|
header{ |
|
|
|
@ -37,9 +34,6 @@ |
|
|
|
|
justify-content: space-between; |
|
|
|
|
border-top-left-radius: @border_radius; |
|
|
|
|
border-top-right-radius: @border_radius; |
|
|
|
|
@media(max-width: @on_phone) { |
|
|
|
|
border-radius: 0; |
|
|
|
|
} |
|
|
|
|
background-color: @color_bg_navbar; |
|
|
|
|
color: @color_text_in_header; |
|
|
|
|
font-weight: bold; |
|
|
|
@ -53,7 +47,6 @@ |
|
|
|
|
transform: rotate(90deg); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
&.pure{ |
|
|
|
|
background-color: @theme_cardbg; |
|
|
|
@ -106,29 +99,31 @@ |
|
|
|
|
.enable-trans(); |
|
|
|
|
.content{ |
|
|
|
|
padding: 0; |
|
|
|
|
.avatar{ |
|
|
|
|
div.avatar{ |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
} |
|
|
|
|
img{ |
|
|
|
|
padding: 0; |
|
|
|
|
margin: 0; |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
background-color: transparent; |
|
|
|
|
@media(max-width: @on_pad){ |
|
|
|
|
padding: @gap/2; |
|
|
|
|
} |
|
|
|
|
width: @width_sidebar; |
|
|
|
|
height: @width_sidebar; |
|
|
|
|
border-top-left-radius: @border_radius; |
|
|
|
|
border-top-right-radius: @border_radius; |
|
|
|
|
@media(max-width: @on_laptop) { |
|
|
|
|
width: @width_sidebar_m; |
|
|
|
|
height: @width_sidebar_m; |
|
|
|
|
} |
|
|
|
|
@media(max-width: @on_pad){ |
|
|
|
|
width: 80px; |
|
|
|
|
height: 80px; |
|
|
|
|
width: 96px; |
|
|
|
|
height: 96px; |
|
|
|
|
border-radius: 100%; |
|
|
|
|
margin-top: @gap/2; |
|
|
|
|
padding: @gap/2; |
|
|
|
|
} |
|
|
|
|
border-top-left-radius: @border_radius; |
|
|
|
|
border-top-right-radius: @border_radius; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
h2{ |
|
|
|
|
text-align: center; |
|
|
|
@ -169,15 +164,16 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@media(max-width: @on_pad){ |
|
|
|
|
box-shadow: none; |
|
|
|
|
background: @theme_background; |
|
|
|
|
.social-wrapper{ |
|
|
|
|
justify-content: center; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@media(max-width: @on_pad){ |
|
|
|
|
box-shadow: none; |
|
|
|
|
background: @theme_background; |
|
|
|
|
margin-top: 2*@gap; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.plain{ |
|
|
|
@ -232,7 +228,6 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -283,33 +278,4 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.links{ |
|
|
|
|
header{ |
|
|
|
|
.rightBtn{ |
|
|
|
|
&:hover{ |
|
|
|
|
transform: rotate(90deg); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.content{ |
|
|
|
|
padding: @gap/2 0; |
|
|
|
|
&.pure{ |
|
|
|
|
padding-top: 0; // 适合白色导航栏背景 |
|
|
|
|
} |
|
|
|
|
.name{ |
|
|
|
|
img{ |
|
|
|
|
display: inline; |
|
|
|
|
border-radius: 100%; |
|
|
|
|
vertical-align: middle; |
|
|
|
|
height: 18px; |
|
|
|
|
width: 18px; |
|
|
|
|
margin-bottom: 4px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|