Git init
This commit is contained in:
17
_assets/sass/modules/_buttons.scss
Normal file
17
_assets/sass/modules/_buttons.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.button {
|
||||
padding: 6px 16px;
|
||||
background: #349000;
|
||||
color: #ffefbf;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
text-shadow: 0 1px 1px #000;
|
||||
cursor: pointer;
|
||||
border-radius: 40px;
|
||||
border: 0;
|
||||
|
||||
&--danger {
|
||||
background: #860602;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
30
_assets/sass/modules/_hamburger.scss
Normal file
30
_assets/sass/modules/_hamburger.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
.hamburger {
|
||||
position: fixed;
|
||||
background: #fff;
|
||||
top: 60px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 20px;
|
||||
overflow: auto;
|
||||
border-right: 1px solid #E1E1E1;
|
||||
transform: translateX(-100%);
|
||||
transition: transform 250ms;
|
||||
|
||||
&.is-active {
|
||||
transform: translateX(0%);
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.button {
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
37
_assets/sass/modules/_header.scss
Normal file
37
_assets/sass/modules/_header.scss
Normal file
@@ -0,0 +1,37 @@
|
||||
header {
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid #E1E1E1;
|
||||
|
||||
.hamburger-button {
|
||||
|
||||
}
|
||||
|
||||
.form {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
width: auto;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: none;
|
||||
overflow: hidden;
|
||||
width: 112px;
|
||||
height: 28px;
|
||||
line-height: 1.4;
|
||||
padding: 4px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.button {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
61
_assets/sass/modules/_war.scss
Normal file
61
_assets/sass/modules/_war.scss
Normal file
@@ -0,0 +1,61 @@
|
||||
.war {
|
||||
.row {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.team {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #666;
|
||||
line-height: 1.2;
|
||||
padding: 2px 8px;
|
||||
|
||||
&.is--hover {
|
||||
outline: 2px solid gold;
|
||||
}
|
||||
|
||||
&__details {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
&__location {
|
||||
display: block;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
font-size: 11px;
|
||||
color: #0079b3;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.best-team {
|
||||
font-weight: 600;
|
||||
color: black;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 32px;
|
||||
background: black;
|
||||
border-radius: 50%;
|
||||
vertical-align: middle;
|
||||
margin: 1px;
|
||||
border: 1px solid grey;
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
margin: 0 6px 0 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@include mq(xl) {
|
||||
img {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
14
_assets/sass/modules/_wrapper.scss
Normal file
14
_assets/sass/modules/_wrapper.scss
Normal file
@@ -0,0 +1,14 @@
|
||||
.wrapper {
|
||||
position: relative;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 100%;
|
||||
max-width: $wrapper-max-width;
|
||||
|
||||
@each $name, $size in $wrapper-gutter {
|
||||
@include mq($name) {
|
||||
padding-left: $size;
|
||||
padding-right: $size;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user