добавлено много файлов, и отсутствие файлов
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
BIN
static/.webassets-cache/2823d3bed6298e1b3c14d859544819f8
Normal file
BIN
static/.webassets-cache/2823d3bed6298e1b3c14d859544819f8
Normal file
Binary file not shown.
BIN
static/.webassets-cache/88a59b23ca6148df558622ed8361e9d6
Normal file
BIN
static/.webassets-cache/88a59b23ca6148df558622ed8361e9d6
Normal file
Binary file not shown.
41
static/dist/main.css
vendored
Normal file
41
static/dist/main.css
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
/* украдено здесь https://css-tricks.com/hexagons-and-beyond-flexible-responsive-grid-patterns-sans-media-queries/ */
|
||||
|
||||
.hex-main {
|
||||
display:flex;
|
||||
--s: 100px; /* size */
|
||||
--m: 4px; /* margin */
|
||||
--f: calc(1.732 * var(--s) + 4 * var(--m) - 1px);
|
||||
max-width: 440px;
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
.hex-container {
|
||||
font-size: 0; /*disable white space between inline block element */
|
||||
}
|
||||
|
||||
.hex-container img {
|
||||
width: var(--s);
|
||||
margin: var(--m);
|
||||
height: calc(var(--s)*1.1547);
|
||||
display: inline-block;
|
||||
font-size:initial;
|
||||
clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
|
||||
background: transparent;
|
||||
margin-bottom: calc(var(--m) - var(--s)*0.2885);
|
||||
}
|
||||
|
||||
.hex-container img:nth-child(odd) {
|
||||
background: transparent;
|
||||
}
|
||||
.hex-container::before {
|
||||
content: "";
|
||||
width: calc(var(--s)/2 + var(--m));
|
||||
float: left;
|
||||
height: 120%;
|
||||
shape-outside: repeating-linear-gradient(
|
||||
#0000 0 calc(var(--f) - 3px),
|
||||
#000 0 var(--f));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user