Adds background

This commit is contained in:
Julien Lengrand-Lambert
2021-05-02 16:26:58 +02:00
parent d242840965
commit 129ae3ec83
9 changed files with 13 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

BIN
assets/brick-wall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
assets/brick2.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/brick3.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
assets/brick4.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
assets/brick5.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 KiB

View File

@@ -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>

View File

@@ -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,
}), }),

View File

@@ -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 {