i18n
xaoxuu 5 years ago
parent 5a3d4e1645
commit ec21c5927f
  1. 12
      source/less/_links.less
  2. 3
      source/less/_side.less
  3. 0
      source/less/_widget.less

@ -18,6 +18,7 @@
justify-content: flex-start; justify-content: flex-start;
align-content: flex-start; align-content: flex-start;
flex-direction: column; flex-direction: column;
border: 1px solid transparent;
width:~"calc(100%/3 - @{gap})"; width:~"calc(100%/3 - @{gap})";
@media(max-width: @on_laptop){ @media(max-width: @on_laptop){
width:~"calc(100%/3 - @{gap})"; width:~"calc(100%/3 - @{gap})";
@ -44,26 +45,29 @@
box-shadow: @boxshadow_card_raised, 0 32px 64px 0px rgba(0, 0, 0, 0.1); box-shadow: @boxshadow_card_raised, 0 32px 64px 0px rgba(0, 0, 0, 0.1);
transform: scale(1.05); transform: scale(1.05);
border-radius: @border_radius; border-radius: @border_radius;
border: 1px solid white;
@media(max-width: @on_phone){ @media(max-width: @on_phone){
transform: scale(1.02); transform: scale(1.02);
margin: @gap/2 0; margin: @gap/2 0;
} }
.friend-left{ .friend-left{
.avatar{ .avatar{
transform: scale(1.1) rotate(12deg); transform: scale(1.2) rotate(12deg);
box-shadow: @boxshadow_card_raised; box-shadow: @boxshadow_card_raised;
border: none;
} }
} }
} }
.friend-left{ .friend-left{
display: flex;
align-self: center; align-self: center;
.avatar{ .avatar{
width: 64px; width: 64px;
height: 64px; height: 64px;
min-width: 64px; min-width: 64px;
min-height: 64px; min-height: 64px;
margin: @gap @gap/2 @gap/2 @gap/2; margin: @gap @gap/2 @gap/4 @gap/2;
border-radius: 100%; border-radius: 100%;
border: 1px solid white; border: 1px solid white;
box-shadow: @boxshadow_card_normal; box-shadow: @boxshadow_card_normal;
@ -73,9 +77,9 @@
} }
} }
.friend-right{ .friend-right{
flex: 1; margin: @gap/4 @gap/2;
margin: 0 @gap/2 @gap/2 @gap/2;
display: flex; display: flex;
// flex: 1;
flex-direction: column; flex-direction: column;
text-align: center; text-align: center;
p{ p{

@ -273,7 +273,7 @@
padding: 0 @gap; padding: 0 @gap;
a{ a{
text-align: center; text-align: center;
border-radius: @border_radius/2; border-radius: @border_radius;
margin: 4px 0; margin: 4px 0;
padding: 4px 8px; padding: 4px 8px;
display: flex; display: flex;
@ -300,6 +300,7 @@
&:hover { &:hover {
color: @color_text_highlight; color: @color_text_highlight;
background: fade(@theme_main, 10%); background: fade(@theme_main, 10%);
border-radius: 4px;
} }
&:active { &:active {
color: @color_text_highlight; color: @color_text_highlight;

Loading…
Cancel
Save