Reconfigure add structure and add Gulp
This commit is contained in:
29
source/_assets/about-me.scss
Normal file
29
source/_assets/about-me.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.about-me {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100vh;
|
||||
|
||||
|
||||
&__note {
|
||||
text-align: center;
|
||||
font-size: 120%;
|
||||
max-width: 400px;
|
||||
min-height: 3em;
|
||||
}
|
||||
|
||||
&__links {
|
||||
padding: 0;
|
||||
margin-top: 4em;
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&__link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&__link + &__link {
|
||||
margin-left: 1em;
|
||||
}
|
||||
}
|
70
source/_assets/app.scss
Normal file
70
source/_assets/app.scss
Normal file
@@ -0,0 +1,70 @@
|
||||
html, body {
|
||||
font-size: 18px;
|
||||
font-family: 'PT Serif', Serif;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 840px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.greeting,
|
||||
.hello {
|
||||
margin-top: 1.8em;
|
||||
font-size: 3.4em;
|
||||
margin-bottom: 0.6em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.heading {
|
||||
margin-top: 2.3em;
|
||||
margin-bottom: 0.4em;
|
||||
font-size: 1.2em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.hello {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-bottom: 0.8em;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 839px) {
|
||||
|
||||
body {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 20px 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.greeting,
|
||||
.hello {
|
||||
margin-top: 0.8em;
|
||||
}
|
||||
|
||||
.greeting {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hello {
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
|
||||
.content {
|
||||
margin: 10px 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user