[Layout] import breakpoint and @include sm
Try to follow new scss and make it RWD.
This commit is contained in:
@@ -34,4 +34,4 @@
|
|||||||
"vue-cli-plugin-prerender-spa": "~1.1.6",
|
"vue-cli-plugin-prerender-spa": "~1.1.6",
|
||||||
"vue-template-compiler": "^2.6.11"
|
"vue-template-compiler": "^2.6.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@import '../hyperpoint';
|
||||||
$fontFamily: Noto Sans TC;
|
$fontFamily: Noto Sans TC;
|
||||||
$fontColor: #226BB4;
|
$fontColor: #226BB4;
|
||||||
|
|
||||||
@@ -89,6 +90,7 @@ $fontColor: #226BB4;
|
|||||||
|
|
||||||
.past-sitcon {
|
.past-sitcon {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
width: 700px;
|
||||||
|
|
||||||
.thumbnails {
|
.thumbnails {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -182,7 +184,64 @@ $fontColor: #226BB4;
|
|||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include sm {
|
||||||
|
#cfp-intro{
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
margin-bottom: 10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 12pt;
|
||||||
|
line-height: 1.85;
|
||||||
|
width:75vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
p:not(:last-child) {
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#cfp-intro{
|
||||||
|
.box-back {
|
||||||
|
margin-bottom: -45em;
|
||||||
|
margin-left:-4em;
|
||||||
|
|
||||||
|
.first-box {
|
||||||
|
transform: rotate(12deg) scale(0.9);
|
||||||
|
bottom: 640px;
|
||||||
|
left: -20px;
|
||||||
|
}
|
||||||
|
.introd-text {
|
||||||
|
top: 100px;
|
||||||
|
}
|
||||||
|
.past-sitcon {
|
||||||
|
margin-top:1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#cfp-intro{
|
||||||
|
.box-bluearea {
|
||||||
|
height: 280px;
|
||||||
|
z-index: 0;
|
||||||
|
transform: rotate(12deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#cfp-intro{
|
||||||
|
.box-back2 {
|
||||||
|
margin-top:3em;
|
||||||
|
|
||||||
|
.second-box {
|
||||||
|
transform: rotate(12deg);
|
||||||
|
bottom: 1100px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user