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>
|
||||
html,
|
||||
body {
|
||||
width: 1920px;
|
||||
height: 1080px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
background-color: #ededed;
|
||||
/*font-family: sans-serif;*/
|
||||
/*background-color: #ededed;*/
|
||||
}
|
||||
</style>
|
||||
<title>briques-posters</title>
|
||||
|
||||
@@ -28,7 +28,7 @@ export default merge(baseConfig, {
|
||||
input: './index.html',
|
||||
plugins: [
|
||||
copy({
|
||||
targets: [{ src: 'assets/**/*', dest: './dist' }],
|
||||
targets: [{ src: 'assets/**/*', dest: './dist/assets' }],
|
||||
// set flatten to false to preserve folder structure
|
||||
flatten: false,
|
||||
}),
|
||||
|
||||
@@ -4,12 +4,17 @@ import {customElement, property} from 'lit/decorators.js';
|
||||
@customElement("briques-poster")
|
||||
export class BriquesPoster extends LitElement {
|
||||
|
||||
@property() title = 'My app';
|
||||
@property() title = 'Brique du Web';
|
||||
|
||||
static styles = css`
|
||||
:host {
|
||||
width: 2400px;
|
||||
height: 1260px;
|
||||
display: inline-block;
|
||||
width: 1920px;
|
||||
height: 1080px;
|
||||
background-image: url("assets/brick5.jpeg");
|
||||
background-repeat: repeat;
|
||||
background-size: auto;
|
||||
|
||||
}
|
||||
|
||||
main {
|
||||
|
||||
Reference in New Issue
Block a user