[build] build scss for intro

This commit is contained in:
mysper 2021-01-20 02:55:10 +08:00
parent c63a453d5a
commit eb43027276
3 changed files with 86 additions and 7 deletions

View File

@ -1,8 +1,11 @@
$fontFamily: Noto Sans TC;
$fontColor: #226BB4;
// General settings: // General settings:
// font-size and paragraph spacing for headers and paragraph text // font-size and paragraph spacing for headers and paragraph text
#cfp-intro { #cfp-intro {
margin-top: 90px;
padding: 96px 0; padding: 96px 0 0 0;
h1, h1,
h2, h2,
@ -36,7 +39,11 @@
font-weight: 900; font-weight: 900;
} }
} }
.introduction{
height: 2250px;
overflow: hidden;
padding-bottom: 0;
}
// Utiliy // Utiliy
#cfp-intro { #cfp-intro {
.mr-2 { .mr-2 {
@ -54,10 +61,30 @@
.box-back { .box-back {
// margin-top: -120px; // margin-top: -120px;
// width: 880px; // width: 880px;
margin-bottom: 2em; margin-bottom: -40em;
font-family: $fontFamily;
color: $fontColor;
width: 700px;
padding: 20px;
.first-box {
transform: rotate(15deg);
box-shadow: 0 3px 12px 0 rgba(89,120,206,.56);
border-radius: 30px;
position: relative;
bottom: 550px;
right: 50px;
z-index: 0;
}
.introd-text {
position: relative;
top: 200px;
left: 150px;
z-index: 2;
}
.about-sitcon { .about-sitcon {
margin-bottom: 2em; margin-bottom: 0 auto 2em;
} }
.past-sitcon { .past-sitcon {
@ -93,15 +120,51 @@
} }
} }
.box-bluearea {
width: 150vw;
height: 450px;
background: rgba(34, 107, 180,1);
right: 25%;
position:relative;
z-index: -1;
transform: rotate(15deg);
opacity: 1;
}
.box-back2 { .box-back2 {
// width: 760px; // width: 760px;
font-family: $fontFamily;
color: $fontColor;
width: 900px;
padding: 20px;
height: 2200px;
.about-topic { .about-topic {
margin-bottom: 2em; margin-bottom: 2em;
position:relative;
bottom: 75px;
z-index: 2;
left: 50px;
}
.second-box {
transform: rotate(15deg);
box-shadow: 0 3px 12px 0 rgba(89,120,206,.56);
border-radius: 30px;
position: relative;
bottom: 1100px;
right: 120px;
z-index: 0;
} }
.cfp-deadline { .cfp-deadline {
margin-bottom: 2em; margin-bottom: 2em;
margin-bottom: 2em;
position:relative;
z-index: 2;
left: 50px;
bottom: 75px;
.cfp-deadline-content { .cfp-deadline-content {
margin-top: -1.5em; margin-top: -1.5em;
display: flex; display: flex;
@ -111,10 +174,15 @@
} }
.give-me-money { .give-me-money {
position:relative;
z-index: 2;
left: 50px;
bottom: 75px;
.whisper { .whisper {
font-weight: 900; font-weight: 900;
font-size: 1.25em; font-size: 1.25em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
} }
} }

View File

@ -92,6 +92,9 @@ $fontFamily: Noto Sans CJK TC, monospace;
padding-top: 45px; padding-top: 45px;
padding-bottom: 45px; padding-bottom: 45px;
position: relative;
z-index: 2;
.footer-left { .footer-left {
display: inline-flex; display: inline-flex;
flex-direction: column; flex-direction: column;

View File

@ -2,6 +2,7 @@
<main class="introduction-container"> <main class="introduction-container">
<div class="introduction"> <div class="introduction">
<div class="box-back box"> <div class="box-back box">
<div class="introd-text">
<div class="about-sitcon"> <div class="about-sitcon">
<h2>關於 SITCON</h2> <h2>關於 SITCON</h2>
<p> <p>
@ -66,9 +67,14 @@
> >
</div> </div>
</div> </div>
</div>
<svg width="1000" height="950" class="first-box"><rect width="1500" height="1200" style="fill: rgb(255, 255, 255);"></rect></svg>
</div>
<!-- ==================================================================================================== -->
<div class="box-bluearea">
</div> </div>
<div class="box-back2 box"> <div class="box-back2 box">
<div class="introd-text">
<div class="topic-intro"> <div class="topic-intro">
<div class="about-topic"> <div class="about-topic">
<h2>2021 年會主題</h2> <h2>2021 年會主題</h2>
@ -97,8 +103,8 @@
> >
</div> </div>
</div> </div>
</div>
</div> </div>
<div class="give-me-money"> <div class="give-me-money">
<p class="whisper">最後...</p> <p class="whisper">最後...</p>
<h2>SITCON 贊助徵求</h2> <h2>SITCON 贊助徵求</h2>
@ -126,7 +132,9 @@
>個人贊助方案</a >個人贊助方案</a
> >
</div> </div>
</div> </div>
<svg width="1100" height="1200" class="second-box"><rect width="1500" height="1500" style="fill: rgb(255, 255, 255);"></rect></svg>
</div> </div>
</div> </div>
</main> </main>