[Style] Reorganize Intro; desktop simple bg complete
This commit is contained in:
@@ -1,37 +1,102 @@
|
||||
@import '../hyperpoint';
|
||||
@import "../hyperpoint";
|
||||
@import "../color";
|
||||
|
||||
#cfp {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// The Korea Fish
|
||||
// z-indecies
|
||||
$z-section: -1;
|
||||
$z-korea-fish: -10;
|
||||
$z-first-card: -8;
|
||||
$z-blue-bar: -9;
|
||||
$z-second-card: -8;
|
||||
// for mobile
|
||||
$zm-section: -1;
|
||||
$zm-korea-fish: -10;
|
||||
$zm-first-card: -9;
|
||||
$zm-blue-bar: -8;
|
||||
$zm-second-card: -7;
|
||||
|
||||
#cfp-bg {
|
||||
width: 100vw;
|
||||
z-index: -1;
|
||||
z-index: $z-section;
|
||||
position: absolute;
|
||||
// left: -12px; // offset
|
||||
|
||||
.korea-fish {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
height: 960px;
|
||||
|
||||
.sitcon-apple {
|
||||
position: absolute;
|
||||
margin-top: 360px;
|
||||
width: 250px;
|
||||
z-index: -10;
|
||||
}
|
||||
.ellipse {
|
||||
position: absolute;
|
||||
margin-top: 200px;
|
||||
width: 640px;
|
||||
z-index: -10;
|
||||
}
|
||||
.radial {
|
||||
width: 1920px;
|
||||
position: absolute;
|
||||
z-index: -10;
|
||||
}
|
||||
}
|
||||
|
||||
.cards {
|
||||
.first-card {
|
||||
transform: rotate(15deg);
|
||||
box-shadow: 0 3px 12px 0 rgba(89, 120, 206, 0.56);
|
||||
border-radius: 30px;
|
||||
position: relative;
|
||||
top: 72px;
|
||||
right: 0px;
|
||||
z-index: $z-first-card;
|
||||
}
|
||||
|
||||
.blue-bar {
|
||||
z-index: $z-blue-bar;
|
||||
width: 3600px; // this is enough
|
||||
height: 300px;
|
||||
background: rgba(34, 107, 180, 1);
|
||||
position: relative;
|
||||
right: 160px;
|
||||
top: 300px;
|
||||
transform: rotate(15deg);
|
||||
opacity: 1;
|
||||
|
||||
p {
|
||||
padding-top: 160px;
|
||||
padding-left: 240px;
|
||||
color: $white;
|
||||
font-size: 48pt;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
z-index: $z-blue-bar;
|
||||
}
|
||||
}
|
||||
|
||||
.card2-wrapper {
|
||||
height: 1300px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-top: -300px;
|
||||
z-index: $z-second-card;
|
||||
|
||||
.second-card {
|
||||
transform: rotate(15deg);
|
||||
box-shadow: 0 3px 12px 0 rgba(89, 120, 206, 0.56);
|
||||
border-radius: 30px;
|
||||
z-index: $z-second-card;
|
||||
position: relative;
|
||||
top: 240px;
|
||||
right: 240px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ $width-svg-news: 259px;
|
||||
img.svg {
|
||||
height: auto;
|
||||
}
|
||||
z-index: 1;
|
||||
// z-index: 1;
|
||||
|
||||
.spot-box {
|
||||
padding-bottom: 260px;
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
@import '../hyperpoint';
|
||||
@import '../color';
|
||||
@import "../hyperpoint";
|
||||
@import "../color";
|
||||
$fontFamily: Noto Sans TC;
|
||||
$fontColor: $mid-blue;
|
||||
|
||||
// General settings:
|
||||
// font-size and paragraph spacing for headers and paragraph text
|
||||
#cfp-intro {
|
||||
margin-top: 90px;
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
@@ -37,22 +35,6 @@ $fontColor: $mid-blue;
|
||||
font-weight: 900;
|
||||
}
|
||||
}
|
||||
.introduction {
|
||||
height: 2400px;
|
||||
overflow: hidden;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
@media screen and (max-width: 1021px) {
|
||||
.introduction {
|
||||
height: 2230px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 891px) {
|
||||
.introduction {
|
||||
height: 2200px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Utiliy
|
||||
#cfp-intro {
|
||||
@@ -68,41 +50,22 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
|
||||
#cfp-intro {
|
||||
padding-top: 72px;
|
||||
padding-bottom: 72px;
|
||||
padding-left: 135px;
|
||||
color: $fontColor;
|
||||
|
||||
.box-back {
|
||||
// width: 880px;
|
||||
margin-bottom: -40em;
|
||||
font-family: $fontFamily;
|
||||
color: $fontColor;
|
||||
padding-top: 180px;
|
||||
padding-bottom: 180px;
|
||||
width: 800px;
|
||||
|
||||
width: 700px;
|
||||
padding: 20px;
|
||||
|
||||
.first-box {
|
||||
transform: rotate(15deg);
|
||||
box-shadow: 0 3px 12px 0 rgba(89, 120, 206, 0.56);
|
||||
border-radius: 30px;
|
||||
position: relative;
|
||||
bottom: 620px;
|
||||
right: 50px;
|
||||
z-index: 0;
|
||||
}
|
||||
.introd-text {
|
||||
position: relative;
|
||||
top: 200px;
|
||||
left: 150px;
|
||||
z-index: 2;
|
||||
}
|
||||
.about-sitcon {
|
||||
margin-bottom: 0 auto 2em;
|
||||
// empty
|
||||
}
|
||||
|
||||
.past-sitcon {
|
||||
margin-bottom: 2em;
|
||||
width: 60vw;
|
||||
height: 13em;
|
||||
|
||||
.cfp-img{
|
||||
.cfp-img {
|
||||
width: 180px; //225
|
||||
height: 121px; //152
|
||||
}
|
||||
@@ -111,6 +74,7 @@ $fontColor: $mid-blue;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 0.25em 0;
|
||||
margin-bottom: 2em;
|
||||
|
||||
.thumb-wrapper {
|
||||
.thumb-title,
|
||||
@@ -126,62 +90,28 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 1em;
|
||||
margin-right: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.join-discuss {
|
||||
// empty
|
||||
}
|
||||
}
|
||||
|
||||
.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 {
|
||||
// width: 760px;
|
||||
font-family: $fontFamily;
|
||||
color: $fontColor;
|
||||
|
||||
width: 900px;
|
||||
padding: 20px 20px 168px 20px;
|
||||
height: 2350px;
|
||||
width: 1050px;
|
||||
padding-top: 180px;
|
||||
|
||||
.about-topic {
|
||||
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, 0.56);
|
||||
border-radius: 30px;
|
||||
position: relative;
|
||||
bottom: 1100px;
|
||||
right: 120px;
|
||||
z-index: 0;
|
||||
// empty
|
||||
}
|
||||
|
||||
.cfp-deadline {
|
||||
margin-bottom: 2em;
|
||||
margin-bottom: 2em;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
left: 50px;
|
||||
bottom: 75px;
|
||||
margin-bottom: 2.5em;
|
||||
|
||||
.cfp-deadline-content {
|
||||
margin-top: -1.5em;
|
||||
display: flex;
|
||||
@@ -189,12 +119,8 @@ $fontColor: $mid-blue;
|
||||
align-items: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.give-me-money {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
left: 50px;
|
||||
bottom: 75px;
|
||||
.whisper {
|
||||
font-weight: 900;
|
||||
font-size: 1.25em;
|
||||
@@ -204,8 +130,9 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
@include md{ //for width 786px
|
||||
#cfp-intro{
|
||||
@include md {
|
||||
//for width 786px
|
||||
#cfp-intro {
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
@@ -215,21 +142,21 @@ $fontColor: $mid-blue;
|
||||
p {
|
||||
font-size: 14pt;
|
||||
line-height: 1.75;
|
||||
width:85vw;
|
||||
width: 85vw;
|
||||
}
|
||||
|
||||
p:not(:last-child) {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
}
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-back {
|
||||
margin-bottom: -42em;
|
||||
margin-left:-6em;
|
||||
|
||||
margin-left: -6em;
|
||||
|
||||
.first-box {
|
||||
transform: rotate(12deg) scale(1.2);
|
||||
bottom: 590px;
|
||||
bottom: 520px;
|
||||
left: 100px;
|
||||
}
|
||||
|
||||
@@ -240,10 +167,10 @@ $fontColor: $mid-blue;
|
||||
.past-sitcon {
|
||||
.thumbnails {
|
||||
.thumb-wrapper {
|
||||
width:200.5px;//25vw;
|
||||
width: 200.5px; //25vw;
|
||||
.thumb-title,
|
||||
.thumb-subtitle {
|
||||
width:185.5px; //25vw;
|
||||
width: 185.5px; //25vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -251,26 +178,25 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-bluearea {
|
||||
height: 200px;
|
||||
z-index: 0;
|
||||
transform: rotate(12deg);
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
|
||||
#cfp-intro {
|
||||
.box-back2 {
|
||||
margin-top: 1em;
|
||||
margin-left: -2em;
|
||||
|
||||
|
||||
.second-box {
|
||||
transform: rotate(12deg);
|
||||
bottom: 1030px;
|
||||
left:-5em;
|
||||
transform: rotate(12deg);
|
||||
bottom: 1030px;
|
||||
left: -5em;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#cfp-intro {
|
||||
@@ -287,9 +213,10 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
@include sm { //for width 600px
|
||||
@include sm {
|
||||
//for width 600px
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
@@ -299,7 +226,7 @@ $fontColor: $mid-blue;
|
||||
p {
|
||||
font-size: 13pt;
|
||||
line-height: 1.5;
|
||||
width:70vw;
|
||||
width: 70vw;
|
||||
}
|
||||
|
||||
p:not(:last-child) {
|
||||
@@ -307,11 +234,11 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-back {
|
||||
margin-bottom: -45em;
|
||||
margin-left:-5em;
|
||||
|
||||
margin-left: -5em;
|
||||
|
||||
.first-box {
|
||||
transform: rotate(12deg) scale(1.1);
|
||||
bottom: 610px;
|
||||
@@ -322,18 +249,18 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
|
||||
.past-sitcon {
|
||||
margin-bottom:-1em;
|
||||
margin-bottom: -1em;
|
||||
.thumbnails {
|
||||
.thumb-wrapper {
|
||||
width:122.5px;//25vw;
|
||||
width: 122.5px; //25vw;
|
||||
.thumb-title,
|
||||
.thumb-subtitle {
|
||||
width:132.5px; //25vw;
|
||||
width: 132.5px; //25vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cfp-img{
|
||||
.cfp-img {
|
||||
width: 128.5px; //225
|
||||
height: 80px; //152
|
||||
margin-left: 0em;
|
||||
@@ -342,24 +269,24 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-bluearea {
|
||||
height: 300px;
|
||||
z-index: 0;
|
||||
transform: rotate(12deg);
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
|
||||
#cfp-intro {
|
||||
.box-back2 {
|
||||
margin-top:-6em;
|
||||
margin-top: -6em;
|
||||
.second-box {
|
||||
transform: rotate(12deg);
|
||||
bottom: 1060px;
|
||||
transform: rotate(12deg);
|
||||
bottom: 1060px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#cfp-intro {
|
||||
//button util
|
||||
.mr-2 {
|
||||
@@ -375,7 +302,7 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
|
||||
@include ss {
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
@@ -403,7 +330,7 @@ $fontColor: $mid-blue;
|
||||
p {
|
||||
font-size: 12pt;
|
||||
line-height: 1.65;
|
||||
width:80vw;
|
||||
width: 80vw;
|
||||
}
|
||||
|
||||
p:not(:last-child) {
|
||||
@@ -411,11 +338,11 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-back {
|
||||
margin-bottom: -45em;
|
||||
margin-left:-7em;
|
||||
|
||||
margin-left: -7em;
|
||||
|
||||
.first-box {
|
||||
transform: rotate(12deg);
|
||||
bottom: 640px;
|
||||
@@ -425,20 +352,20 @@ $fontColor: $mid-blue;
|
||||
top: 100px;
|
||||
}
|
||||
.past-sitcon {
|
||||
margin-top:1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.past-sitcon {
|
||||
.thumbnails {
|
||||
.thumb-wrapper {
|
||||
width:122.5px;//25vw;
|
||||
width: 122.5px; //25vw;
|
||||
.thumb-title,
|
||||
.thumb-subtitle {
|
||||
width:132.5px; //25vw;
|
||||
width: 132.5px; //25vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cfp-img{
|
||||
.cfp-img {
|
||||
width: 128.5px; //225
|
||||
height: 80px; //152
|
||||
margin-left: 0em;
|
||||
@@ -447,26 +374,26 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-bluearea {
|
||||
height: 280px;
|
||||
z-index: 0;
|
||||
transform: rotate(12deg);
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
|
||||
#cfp-intro {
|
||||
.box-back2 {
|
||||
margin-top: -5em;
|
||||
margin-left: -1em;
|
||||
|
||||
|
||||
.second-box {
|
||||
transform: rotate(12deg) scale(0.65);
|
||||
bottom: 1270px;
|
||||
left:-14em;
|
||||
transform: rotate(12deg) scale(0.65);
|
||||
bottom: 1270px;
|
||||
left: -14em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.give-me-money {
|
||||
top: 2em;
|
||||
.whisper {
|
||||
@@ -477,7 +404,7 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.past-sitcon {
|
||||
margin-bottom: 2em;
|
||||
width: 40vw;
|
||||
@@ -489,10 +416,10 @@ $fontColor: $mid-blue;
|
||||
padding: 0.25em 0;
|
||||
|
||||
.thumb-wrapper {
|
||||
width:225px;//25vw;
|
||||
width: 225px; //25vw;
|
||||
.thumb-title,
|
||||
.thumb-subtitle {
|
||||
width:190px; //25vw;
|
||||
width: 190px; //25vw;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
font-size: 0.8em;
|
||||
@@ -514,7 +441,7 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
|
||||
@include xs {
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
@@ -542,7 +469,7 @@ $fontColor: $mid-blue;
|
||||
p {
|
||||
font-size: 11pt;
|
||||
line-height: 1.65;
|
||||
width:80vw;
|
||||
width: 80vw;
|
||||
}
|
||||
|
||||
p:not(:last-child) {
|
||||
@@ -550,11 +477,11 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-back {
|
||||
margin-bottom: -45em;
|
||||
margin-left:-8em;
|
||||
|
||||
margin-left: -8em;
|
||||
|
||||
.first-box {
|
||||
transform: rotate(12deg);
|
||||
bottom: 620px;
|
||||
@@ -564,24 +491,24 @@ $fontColor: $mid-blue;
|
||||
top: 100px;
|
||||
}
|
||||
.past-sitcon {
|
||||
margin-top:1em;
|
||||
|
||||
margin-top: 1em;
|
||||
|
||||
.thumbnails {
|
||||
margin-left: -0.5em;
|
||||
padding: 0.25em 0;
|
||||
|
||||
|
||||
.thumb-wrapper {
|
||||
width:110px;//25vw;
|
||||
width: 110px; //25vw;
|
||||
.thumb-title,
|
||||
.thumb-subtitle {
|
||||
width:130px; //25vw;
|
||||
width: 130px; //25vw;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
font-size: 0.1em;
|
||||
line-height: 10em;
|
||||
font-weight: 900;
|
||||
}
|
||||
.cfp-img{
|
||||
.cfp-img {
|
||||
width: 110.5px; //225
|
||||
height: 63px; //152
|
||||
margin-left: 0.6em;
|
||||
@@ -592,26 +519,26 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
#cfp-intro {
|
||||
.box-bluearea {
|
||||
height: 220px;
|
||||
z-index: 0;
|
||||
transform: rotate(12deg);
|
||||
}
|
||||
}
|
||||
|
||||
#cfp-intro{
|
||||
|
||||
#cfp-intro {
|
||||
.box-back2 {
|
||||
margin-top: 3em;
|
||||
margin-left: -1em;
|
||||
|
||||
|
||||
.second-box {
|
||||
transform: rotate(12deg) scale(0.63);
|
||||
bottom: 1250px;
|
||||
left:-15em;
|
||||
transform: rotate(12deg) scale(0.63);
|
||||
bottom: 1250px;
|
||||
left: -15em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.give-me-money {
|
||||
top: 2em;
|
||||
.whisper {
|
||||
@@ -621,4 +548,4 @@ $fontColor: $mid-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user