feat: tidy style and layout
This commit is contained in:
@@ -11,11 +11,11 @@ html {
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
height: 40px;
|
||||
background-color: #eee;
|
||||
background-color: #87878D;
|
||||
border-radius: 16px;
|
||||
|
||||
&:hover {
|
||||
background-color: #C2C2C2;
|
||||
background-color: #A9A9B3;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -73,11 +73,3 @@ a {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: $navbar-background-color;
|
||||
|
||||
.dark-theme & {
|
||||
background-color: $navbar-background-color-dark;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/** Layout **/
|
||||
|
||||
/** Layout **/
|
||||
.wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -7,24 +6,6 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
display: block !important;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
height: 4rem;
|
||||
line-height: 4rem;
|
||||
|
||||
.container {
|
||||
width: auto;
|
||||
max-width: 1200px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
@@ -1,192 +1,49 @@
|
||||
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
|
||||
.navbar {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.post-toc {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.navbar-mobile {
|
||||
display: block !important;
|
||||
position: fixed !important;
|
||||
width: 100% !important;
|
||||
z-index: 100 !important;
|
||||
transition: all 0.3s ease 0s !important;
|
||||
|
||||
.container {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
height: 4.5em !important;
|
||||
line-height: 4.5em !important;
|
||||
background: $global-background-color !important;
|
||||
|
||||
.navbar-header {
|
||||
display: flex !important;
|
||||
justify-content: space-between !important;
|
||||
align-items: center !important;
|
||||
width: 100% !important;
|
||||
font-size: 18px !important;
|
||||
padding-right: 1em !important;
|
||||
padding-left: 1em !important;
|
||||
box-sizing: border-box !important;
|
||||
|
||||
.menu-toggle {
|
||||
cursor: pointer !important;
|
||||
line-height: 4.5em !important;
|
||||
|
||||
span {
|
||||
display: block !important;
|
||||
background: #000 !important;
|
||||
width: 36px !important;
|
||||
height: 2px !important;
|
||||
-webkit-border-radius: 3px !important;
|
||||
-moz-border-radius: 3px !important;
|
||||
border-radius: 3px !important;
|
||||
-webkit-transition: .2s margin .2s, .2s transform !important;
|
||||
-moz-transition: .2s margin .2s, .2s transform !important;
|
||||
transition: .2s margin .2s, .2s transform !important;
|
||||
|
||||
.dark-theme & {
|
||||
background: $global-font-color-dark !important;
|
||||
}
|
||||
}
|
||||
|
||||
span:nth-child(1) {
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
margin-top: 8px !important;
|
||||
}
|
||||
|
||||
&.active {
|
||||
span {
|
||||
-webkit-transition: .2s margin, .2s transform .2s !important;
|
||||
-moz-transition: .2s margin, .2s transform .2s !important;
|
||||
transition: .2s margin, .2s transform .2s !important;
|
||||
}
|
||||
|
||||
span:nth-child(1) {
|
||||
-moz-transform: rotate(45deg) translate(4px, 6px) !important;
|
||||
-ms-transform: rotate(45deg) translate(4px, 6px) !important;
|
||||
-webkit-transform: rotate(45deg) translate(4px, 6px) !important;
|
||||
transform: rotate(45deg) translate(4px, 6px) !important;
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
-moz-transform: rotate(-45deg) translate(8px, -10px) !important;
|
||||
-ms-transform: rotate(-45deg) translate(8px, -10px) !important;
|
||||
-webkit-transform: rotate(-45deg) translate(8px, -10px) !important;
|
||||
transform: rotate(-45deg) translate(8px, -10px) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu {
|
||||
text-align: center !important;
|
||||
background: $global-background-color !important;
|
||||
border-top: 2px solid $global-font-color !important;
|
||||
display: none !important;
|
||||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 4px 8px rgba(0, 0, 0, 0.1) !important;
|
||||
|
||||
a {
|
||||
display: block !important;
|
||||
line-height: 2.5em !important;
|
||||
}
|
||||
|
||||
&.active {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.dark-theme & {
|
||||
background: $global-background-color-dark !important;
|
||||
border-top: 2px solid $global-font-color-dark !important;
|
||||
}
|
||||
}
|
||||
|
||||
.dark-theme & {
|
||||
background: $global-background-color-dark !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#dynamic-to-top {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* iPads (landscape) ----------- */
|
||||
@media only screen and (max-width: 1300px) {
|
||||
.post-warp {
|
||||
.categories-card {
|
||||
.card-item {
|
||||
width: 95% !important;
|
||||
}
|
||||
max-width: 560px;
|
||||
|
||||
.post-toc {
|
||||
margin-left: 580px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* iPads (portrait) ----------- */
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
@media only screen and (max-width: 1080px) {
|
||||
.post-warp {
|
||||
max-width: 600px !important;
|
||||
}
|
||||
max-width: 80%;
|
||||
|
||||
.navbar-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
.post-toc {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-toc {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.post-toc-mobile {
|
||||
display: block !important;
|
||||
.post-toc-mobile {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* iPads (landscape) ----------- */
|
||||
|
||||
@media only screen and (min-width: 1080px) {
|
||||
.post-warp {
|
||||
max-width: 560px !important;
|
||||
}
|
||||
|
||||
.post-toc {
|
||||
display: block !important;
|
||||
margin-left: 580px !important;
|
||||
@media only screen and (max-width: 400px) {
|
||||
.navbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navbar-mobile {
|
||||
display: none !important;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.post-toc-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Desktops and laptops ----------- */
|
||||
|
||||
@media only screen and (min-width: 1300px) {
|
||||
.post-warp {
|
||||
max-width: 780px !important;
|
||||
max-width: 100%;
|
||||
|
||||
.categories-card {
|
||||
.card-item {
|
||||
width: 95%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-toc {
|
||||
display: block !important;
|
||||
margin-left: 800px !important;
|
||||
}
|
||||
|
||||
.navbar-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.post-toc-mobile {
|
||||
.dynamic-to-top {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,3 @@
|
||||
// Custom style
|
||||
// ==============================
|
||||
// You can override the variables in _variables.scss to customize the style
|
||||
|
||||
.since {
|
||||
padding: 30px;
|
||||
text-align:center;
|
||||
font-size: 30px;
|
||||
line-height: 50px;
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
/** Home **/
|
||||
.intro {
|
||||
.home-intro {
|
||||
transform: translateY(25vh);
|
||||
text-align: center;
|
||||
|
||||
.avatar {
|
||||
padding: 10px;
|
||||
.home-avatar {
|
||||
padding: 0.6rem;
|
||||
|
||||
img {
|
||||
width: 128px;
|
||||
width: 8rem;
|
||||
height: auto;
|
||||
display: inline-block;
|
||||
-webkit-border-radius: 100%;
|
||||
@@ -23,35 +23,35 @@
|
||||
|
||||
&:hover {
|
||||
position: relative;
|
||||
-webkit-transform: translateY(-0.75em);
|
||||
-moz-transform: translateY(-0.75em);
|
||||
-ms-transform: translateY(-0.75em);
|
||||
-o-transform: translateY(-0.75em);
|
||||
transform: translateY(-0.75em);
|
||||
-webkit-transform: translateY(-0.75rem);
|
||||
-moz-transform: translateY(-0.75rem);
|
||||
-ms-transform: translateY(-0.75rem);
|
||||
-o-transform: translateY(-0.75rem);
|
||||
transform: translateY(-0.75rem);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h2.description {
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
padding: 5px;
|
||||
}
|
||||
.home-description {
|
||||
font-size: 1rem;
|
||||
font-weight: normal;
|
||||
padding: .4rem;
|
||||
}
|
||||
|
||||
.social-links {
|
||||
a {
|
||||
.home-social-links {
|
||||
padding-top: .6rem;
|
||||
|
||||
padding: 0 5px;
|
||||
a {
|
||||
padding: 0 .4rem;
|
||||
|
||||
&:hover {
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
background-color: transparent;
|
||||
i {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
}
|
||||
@@ -14,9 +14,16 @@
|
||||
.archive {
|
||||
.post-title {
|
||||
text-align: right;
|
||||
padding-bottom: 2em;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
@import "_terms";
|
||||
@import "_tags";
|
||||
}
|
||||
|
||||
.single {
|
||||
.post-title {
|
||||
text-align: right;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,8 @@
|
||||
/** Post **/
|
||||
.post-header {
|
||||
.post-title {
|
||||
margin: 0 !important;
|
||||
font-size: 2rem;
|
||||
line-height: 3rem;
|
||||
}
|
||||
.post-title {
|
||||
margin: 0 !important;
|
||||
font-size: 2rem;
|
||||
line-height: 3rem;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
@@ -42,9 +40,18 @@
|
||||
|
||||
.post-featured-image {
|
||||
padding-top: .6rem;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.post-toc {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 240px;
|
||||
max-width: 300px;
|
||||
@@ -90,6 +97,7 @@
|
||||
}
|
||||
|
||||
.post-toc-mobile {
|
||||
display: none;
|
||||
padding-top: .8rem;
|
||||
|
||||
details {
|
||||
@@ -147,14 +155,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.featured_image {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.post-content {
|
||||
a.post-title-target:target {
|
||||
display: block;
|
||||
@@ -192,6 +192,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1em;
|
||||
margin: .5em 0 .5em 0;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $post-link-color;
|
||||
|
||||
@@ -343,6 +349,8 @@
|
||||
}
|
||||
|
||||
.echarts {
|
||||
width: 100%;
|
||||
height: 30rem;
|
||||
margin: 3% auto;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -443,12 +451,26 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1em;
|
||||
margin: .5em 0 .5em 0;
|
||||
text-align: justify;
|
||||
.align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.align-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.float-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.float-right {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.post-footer {
|
||||
@@ -547,24 +569,4 @@ p {
|
||||
|
||||
.post-comment {
|
||||
padding: 3em 0;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.align-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.float-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.float-right {
|
||||
float: right;
|
||||
}
|
||||
@@ -1,19 +1,18 @@
|
||||
.intro {
|
||||
.home-intro {
|
||||
transform: translateY(0);
|
||||
padding: 2em 0 2em 0;
|
||||
padding: 2rem 0 2rem 0;
|
||||
|
||||
.avatar {
|
||||
.home-avatar {
|
||||
img {
|
||||
width: 96px;
|
||||
width: 6rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post {
|
||||
padding-top: 0.8em;
|
||||
padding-bottom: 0.8em;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: .8rem;
|
||||
color: $global-font-color;
|
||||
border-top: 1px dashed $global-border-color;
|
||||
border-bottom: 1px dashed $global-border-color;
|
||||
|
||||
.dark-theme & {
|
||||
@@ -25,7 +24,7 @@
|
||||
width: 100%;
|
||||
padding: 30% 0 0;
|
||||
position: relative;
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
@@ -36,11 +35,11 @@
|
||||
}
|
||||
|
||||
.post-list-title {
|
||||
font-size: 1.6em;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
font-size: 14px !important;
|
||||
font-size: .875rem !important;
|
||||
a {
|
||||
color: $global-font-secondary-color !important;
|
||||
|
||||
@@ -59,10 +58,10 @@
|
||||
}
|
||||
|
||||
.post-content {
|
||||
padding-top: .2em;
|
||||
font-size: 0.9em;
|
||||
padding-top: .2rem;
|
||||
font-size: .9rem;
|
||||
width: 100%;
|
||||
max-height: 108px;
|
||||
max-height: 6.8rem;
|
||||
overflow: hidden;
|
||||
|
||||
h2,
|
||||
@@ -70,25 +69,25 @@
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
line-height: 1em;
|
||||
padding-top: .3em;
|
||||
padding-bottom: .3em;
|
||||
font-size: 1rem;
|
||||
line-height: 1rem;
|
||||
padding-top: .3rem;
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding-top: .3em;
|
||||
padding-bottom: .3em;
|
||||
padding-top: .3rem;
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.post-footer {
|
||||
margin-top: 0.5em;
|
||||
margin-top: .5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 14px !important;
|
||||
font-size: .875rem !important;
|
||||
|
||||
a {
|
||||
color: $post-link-color !important;
|
||||
|
||||
@@ -4,23 +4,23 @@
|
||||
|
||||
.categories-card {
|
||||
margin: 0 auto;
|
||||
margin-top: 3em;
|
||||
margin-top: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
padding: 0 2.5em;
|
||||
line-height: 1.6em;
|
||||
padding: 0 2.5rem;
|
||||
line-height: 1.6rem;
|
||||
|
||||
.card-item {
|
||||
font-size: 14px;
|
||||
font-size: .875rem;
|
||||
text-align: left;
|
||||
width: 45%;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-top: 2em;
|
||||
min-height: 10em;
|
||||
margin-top: 2rem;
|
||||
min-height: 10rem;
|
||||
padding: 0 2%;
|
||||
position: relative;
|
||||
|
||||
@@ -78,6 +78,6 @@
|
||||
|
||||
span {
|
||||
float: right;
|
||||
padding-right: 1em;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
@@ -1,26 +1,25 @@
|
||||
/**Footer**/
|
||||
|
||||
.copyright {
|
||||
font-size: 14px;
|
||||
font-size: .875rem;
|
||||
}
|
||||
|
||||
#dynamic-to-top {
|
||||
.dynamic-to-top {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
z-index: 90;
|
||||
position: fixed;
|
||||
bottom: 2em;
|
||||
right: 2em;
|
||||
bottom: 2rem;
|
||||
right: 2rem;
|
||||
top: auto;
|
||||
left: auto;
|
||||
font-family: sans-serif;
|
||||
font-size: 1em;
|
||||
font-size: 1rem;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px 0 #333;
|
||||
font-weight: bold;
|
||||
padding: 17px 16px;
|
||||
padding: 1rem 1rem;
|
||||
border: 1px solid $global-border-color;
|
||||
background: #222;
|
||||
&:hover {
|
||||
@@ -38,8 +37,8 @@
|
||||
span {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: 14px;
|
||||
height: 12px;
|
||||
width: .875rem;
|
||||
height: .75rem;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAKCAYAAACE2W/HAAAACXBIWXMAAArwAAAK8AFCrDSYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/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MtLQAAAABJRU5ErkJggg==') no-repeat center center;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,27 +1,152 @@
|
||||
.header-logo a {
|
||||
padding: 0;
|
||||
|
||||
i {
|
||||
line-height: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar .menu a {
|
||||
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
.navbar .menu .active {
|
||||
font-weight: 900;
|
||||
color: $navbar-active-color;
|
||||
.navbar {
|
||||
display: block;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
height: 4rem;
|
||||
line-height: 4rem;
|
||||
background-color: $navbar-background-color;
|
||||
|
||||
.dark-theme & {
|
||||
color: $navbar-active-color-dark;
|
||||
background-color: $navbar-background-color-dark;
|
||||
}
|
||||
|
||||
.navbar-container {
|
||||
width: auto;
|
||||
max-width: 1200px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.navbar-header a {
|
||||
padding: 0 8px;
|
||||
|
||||
i {
|
||||
line-height: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-menu a {
|
||||
padding: 0 8px;
|
||||
|
||||
&.active {
|
||||
font-weight: 900;
|
||||
color: $navbar-active-color;
|
||||
|
||||
.dark-theme & {
|
||||
color: $navbar-active-color-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-header a:hover,
|
||||
.navbar .menu a:hover {
|
||||
.navbar-mobile {
|
||||
display: none;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
transition: all 0.3s ease 0s;
|
||||
|
||||
background-color: transparent;
|
||||
.navbar-container {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 4.5em;
|
||||
line-height: 4.5em;
|
||||
background: $global-background-color;
|
||||
|
||||
.navbar-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
font-size: 18px;
|
||||
padding-right: 1em;
|
||||
padding-left: 1em;
|
||||
box-sizing: border-box;
|
||||
|
||||
.menu-toggle {
|
||||
cursor: pointer;
|
||||
line-height: 4.5em;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
background: #000;
|
||||
width: 36px;
|
||||
height: 2px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-transition: .2s margin .2s, .2s transform;
|
||||
-moz-transition: .2s margin .2s, .2s transform;
|
||||
transition: .2s margin .2s, .2s transform;
|
||||
|
||||
.dark-theme & {
|
||||
background: $global-font-color-dark;
|
||||
}
|
||||
}
|
||||
|
||||
span:nth-child(1) {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
span {
|
||||
-webkit-transition: .2s margin, .2s transform .2s;
|
||||
-moz-transition: .2s margin, .2s transform .2s;
|
||||
transition: .2s margin, .2s transform .2s;
|
||||
}
|
||||
|
||||
span:nth-child(1) {
|
||||
-moz-transform: rotate(45deg) translate(4px, 6px);
|
||||
-ms-transform: rotate(45deg) translate(4px, 6px);
|
||||
-webkit-transform: rotate(45deg) translate(4px, 6px);
|
||||
transform: rotate(45deg) translate(4px, 6px);
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
-moz-transform: rotate(-45deg) translate(8px, -10px);
|
||||
-ms-transform: rotate(-45deg) translate(8px, -10px);
|
||||
-webkit-transform: rotate(-45deg) translate(8px, -10px);
|
||||
transform: rotate(-45deg) translate(8px, -10px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-menu {
|
||||
text-align: center;
|
||||
background: $global-background-color;
|
||||
border-top: 2px solid $global-font-color;
|
||||
display: none;
|
||||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 4px 8px rgba(0, 0, 0, 0.1);
|
||||
|
||||
a {
|
||||
display: block;
|
||||
line-height: 2.5em;
|
||||
}
|
||||
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dark-theme & {
|
||||
background: $global-background-color-dark;
|
||||
border-top: 2px solid $global-font-color-dark;
|
||||
}
|
||||
}
|
||||
|
||||
.dark-theme & {
|
||||
background: $global-background-color-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/** pagination **/
|
||||
|
||||
.pagination {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -7,13 +6,13 @@
|
||||
list-style: none;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
padding-top: 1em;
|
||||
padding-top: 1rem;
|
||||
|
||||
a {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-size: 0.8em;
|
||||
font-size: .8rem;
|
||||
color: #bfbfbf;
|
||||
letter-spacing: 0.1em;
|
||||
letter-spacing: .1rem;
|
||||
font-weight: 700;
|
||||
padding: 5px 5px;
|
||||
text-decoration: none;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
fontawesome-free@5.10.1
|
||||
gittalk@1.5.0
|
||||
katex@0.11.0
|
||||
aplayer@1.10.1
|
||||
aplayer@1.10.1
|
||||
animate.css@3.7.2
|
||||
11
assets/css/lib/animate/animate.min.css
vendored
Normal file
11
assets/css/lib/animate/animate.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user