1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Add weekly contests, bump to 1.1.5

This commit is contained in:
tobspr
2020-06-03 10:06:13 +02:00
parent 68f5010baa
commit 553442e953
7 changed files with 105 additions and 38 deletions

View File

@@ -118,7 +118,7 @@
pointer-events: all;
@include S(width, 350px);
> strong {
strong {
font-weight: bold;
}
@@ -139,6 +139,14 @@
background-color: rgb(250, 206, 206);
}
}
ul.bucketList {
padding-left: 30px;
li {
display: list-item;
}
}
}
> .buttons {

View File

@@ -60,28 +60,17 @@
.mainWrapper {
@include S(padding, 0, 10px);
align-items: center;
align-items: start;
justify-items: center;
&.noDemo {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
&.demo {
@include S(grid-column-gap, 10px);
display: grid;
grid-template-columns: 1fr 1fr;
}
@include S(grid-column-gap, 10px);
display: grid;
grid-template-columns: 1fr 1fr;
.standaloneBanner {
background: rgb(255, 234, 245);
@include S(border-radius, $globalBorderRadius);
height: 100%;
box-sizing: border-box;
@include S(width, 300px);
@include S(padding, 15px);
display: flex;
@@ -165,6 +154,44 @@
border: #{D(2px)} solid rgba(0, 10, 20, 0.1);
}
.sideContainer {
display: flex;
flex-direction: column;
@include S(width, 300px);
.standaloneBanner {
flex-grow: 1;
@include S(margin-bottom, 10px);
}
.contest {
flex-grow: 1;
background: rgb(32, 187, 166);
@include S(padding, 15px);
h3 {
@include Heading;
color: #fff;
font-weight: bold;
text-transform: uppercase;
@include S(margin-bottom, 5px);
}
p {
color: #fff;
@include Text;
strong {
font-weight: bold;
}
@include S(margin-bottom, 5px);
}
button {
background: #fff;
color: #333538;
}
}
}
.mainContainer {
display: flex;
align-items: center;