mirror of
https://github.com/les-briques-du-web/briques-poster.git
synced 2026-03-10 08:51:19 +00:00
Adds background
This commit is contained in:
BIN
assets/background-made-from-bricks.jpg
Normal file
BIN
assets/background-made-from-bricks.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
BIN
assets/brick-wall.png
Normal file
BIN
assets/brick-wall.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
assets/brick2.jpeg
Normal file
BIN
assets/brick2.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
assets/brick3.gif
Normal file
BIN
assets/brick3.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
assets/brick4.jpeg
Normal file
BIN
assets/brick4.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
BIN
assets/brick5.jpeg
Normal file
BIN
assets/brick5.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 792 KiB |
@@ -11,10 +11,12 @@
|
|||||||
<style>
|
<style>
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
width: 1920px;
|
||||||
|
height: 1080px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: sans-serif;
|
/*font-family: sans-serif;*/
|
||||||
background-color: #ededed;
|
/*background-color: #ededed;*/
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<title>briques-posters</title>
|
<title>briques-posters</title>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export default merge(baseConfig, {
|
|||||||
input: './index.html',
|
input: './index.html',
|
||||||
plugins: [
|
plugins: [
|
||||||
copy({
|
copy({
|
||||||
targets: [{ src: 'assets/**/*', dest: './dist' }],
|
targets: [{ src: 'assets/**/*', dest: './dist/assets' }],
|
||||||
// set flatten to false to preserve folder structure
|
// set flatten to false to preserve folder structure
|
||||||
flatten: false,
|
flatten: false,
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -4,12 +4,17 @@ import {customElement, property} from 'lit/decorators.js';
|
|||||||
@customElement("briques-poster")
|
@customElement("briques-poster")
|
||||||
export class BriquesPoster extends LitElement {
|
export class BriquesPoster extends LitElement {
|
||||||
|
|
||||||
@property() title = 'My app';
|
@property() title = 'Brique du Web';
|
||||||
|
|
||||||
static styles = css`
|
static styles = css`
|
||||||
:host {
|
:host {
|
||||||
width: 2400px;
|
display: inline-block;
|
||||||
height: 1260px;
|
width: 1920px;
|
||||||
|
height: 1080px;
|
||||||
|
background-image: url("assets/brick5.jpeg");
|
||||||
|
background-repeat: repeat;
|
||||||
|
background-size: auto;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
|||||||
Reference in New Issue
Block a user