perfect: better style stuffs

This commit is contained in:
jeffreytse 2020-10-02 11:10:50 +08:00
parent ab22549fb8
commit a1b848bb55
5 changed files with 8 additions and 11 deletions

View file

@ -7,7 +7,6 @@ layout: default
margin: 10px auto; margin: 10px auto;
max-width: 600px; max-width: 600px;
text-align: center; text-align: center;
color: #3c3c3c;
} }
h1 { h1 {
margin: 30px 0; margin: 30px 0;

View file

@ -27,7 +27,7 @@
transition: background 0.2s; transition: background 0.2s;
&:hover { &:hover {
background: mix($theme-color, #eaeaea, 20%); background-color: mix($theme-color, #eaeaea, 20%);
} }
} }

View file

@ -113,7 +113,7 @@ body {
// Main look // Main look
.ct-language-selected { .ct-language-selected {
background: darken($theme-color, 5%) !important; background-color: darken($theme-color, 5%) !important;
} }
.ct-language-dropdown { .ct-language-dropdown {

View file

@ -151,7 +151,8 @@ code {
padding: 1px 5px; padding: 1px 5px;
border-radius: 3px; border-radius: 3px;
color: #fff; color: #fff;
background-color: #545454; background-color: #787878;
margin: 0 5px;
} }
pre { pre {

View file

@ -11,7 +11,7 @@ html {
&[data-scroll-status='top'] { &[data-scroll-status='top'] {
header.site-header-transparent { header.site-header-transparent {
height: 0; height: 0;
margin-top: 20px; margin-top: 12px;
background-color: transparent; background-color: transparent;
transition: 0.1s height,background-color,box-shadow; transition: 0.1s height,background-color,box-shadow;
@ -244,6 +244,7 @@ html {
@extend %flex-1; /* <-- Keep footer on the bottom */ @extend %flex-1; /* <-- Keep footer on the bottom */
-ms-flex: none; /* <-- Fix IE footer issue */ -ms-flex: none; /* <-- Fix IE footer issue */
padding: $spacing-unit * 2 0; padding: $spacing-unit * 2 0;
padding-top: 72px;
} }
.page-heading { .page-heading {
@ -326,7 +327,7 @@ html {
} }
&:hover { &:hover {
color: #777; color: #787878;
} }
} }
@ -359,10 +360,6 @@ html {
color: #b3b3b3; color: #b3b3b3;
} }
a:hover {
color: #000;
}
.indicator { .indicator {
padding: 0 15px; padding: 0 15px;
} }
@ -560,7 +557,6 @@ html {
height: $banner-height; height: $banner-height;
background-color: $banner-background; background-color: $banner-background;
transition: height 0.2s; transition: height 0.2s;
margin-bottom: 32px;
.page-banner-img { .page-banner-img {
position: absolute; position: absolute;
@ -570,6 +566,7 @@ html {
& > *:first-child { & > *:first-child {
@include center-image; @include center-image;
transition: 0.1s all ease-in-out;
} }
} }