Add background
This commit is contained in:
parent
85a2a2a4a7
commit
452a5c4993
BIN
resources/images/background-2x.png
Executable file
BIN
resources/images/background-2x.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
resources/images/background.png
Executable file
BIN
resources/images/background.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
@ -60,7 +60,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$section-safe-margin: 0.5rem;
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
|
padding: $section-safe-margin;
|
||||||
|
margin: -$section-safe-margin;
|
||||||
|
|
||||||
|
background: rgba(white, 0.85);
|
||||||
|
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
.section__title {
|
.section__title {
|
||||||
|
@ -100,10 +100,12 @@ body {
|
|||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
background: url("../images/background.png") repeat-x center bottom 63px;
|
||||||
|
|
||||||
main {
|
main {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
transition: opacity .3s ease-in-out;
|
transition: opacity .3s ease-in-out;
|
||||||
|
@ -36,7 +36,7 @@ const config = {
|
|||||||
test: /\.s[ac]ss$/,
|
test: /\.s[ac]ss$/,
|
||||||
use: [{
|
use: [{
|
||||||
loader: MiniCssExtractPlugin.loader,
|
loader: MiniCssExtractPlugin.loader,
|
||||||
}, "css-loader?sourceMap", "sass-loader?sourceMap"]
|
}, "css-loader?sourceMap&url=false", "sass-loader?sourceMap&url=false"]
|
||||||
}, {
|
}, {
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
use: ["style-loader", "css-loader"]
|
use: ["style-loader", "css-loader"]
|
||||||
|
Loading…
Reference in New Issue
Block a user