mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-04-27 06:06:20 +02:00
feat(style): adjust style (#896)
* feat(style): adjust style * feat: sync resources * chore: update build command
This commit is contained in:
parent
cdef1ea363
commit
8e29cd76d4
18 changed files with 15 additions and 8 deletions
assets/css
package.jsonresources/_gen/assets
css
2f1ef0.scss_3bb29f2bf07fe25edca3643ea9ec75e0.content2f1ef0.scss_3bb29f2bf07fe25edca3643ea9ec75e0.json790698.scss_0074190080154890d773cf4da464c67f.content790698.scss_0074190080154890d773cf4da464c67f.jsonf79aa6.scss_3014a957b725e34a6fe68078e0ba90aa.contentf79aa6.scss_3014a957b725e34a6fe68078e0ba90aa.jsonstyle.scss_1a67ae4ed98f18e3ea7da02d2ccd80c9.contentstyle.scss_1a67ae4ed98f18e3ea7da02d2ccd80c9.json
lib
aplayer
valine
scss/css
|
@ -1,10 +1,16 @@
|
|||
@media only screen and (max-width: 1440px) {
|
||||
.page {
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1440px) {
|
||||
.page {
|
||||
width: 56%;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1200px) {
|
||||
@media only screen and (max-width: 1280px) {
|
||||
.page {
|
||||
width: 52%;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
.home {
|
||||
padding-bottom: 5rem;
|
||||
|
||||
.home-profile {
|
||||
@include transform(translateY( 16vh));
|
||||
padding: 0 0 .5rem;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
.page {
|
||||
position: relative;
|
||||
max-width: 800px;
|
||||
width: 60%;
|
||||
width: 64%;
|
||||
margin: 0 auto;
|
||||
|
||||
[data-header-desktop] & {
|
||||
|
|
|
@ -78,7 +78,7 @@ $search-background-color-dark: #363636 !default;
|
|||
// ========== Single Content ========== //
|
||||
// Font size of the TOC
|
||||
$toc-title-font-size: 1.2rem !default;
|
||||
$toc-content-font-size: 1rem !default;
|
||||
$toc-content-font-size: 0.875rem !default;
|
||||
|
||||
// Color of the single link
|
||||
$single-link-color: #2d96bd !default;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions",
|
||||
"babel": "npx babel src/js --out-file assets/js/theme.js",
|
||||
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
|
||||
"build": "npm run babel && hugo --source=exampleSite --themesDir ../.. --gc",
|
||||
"build-lunr-segmentit": "browserify src/lib/lunr/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env",
|
||||
"start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender",
|
||||
"start-production": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender -e production",
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue