-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
45 lines (42 loc) · 1.08 KB
/
Copy pathstyle.css
File metadata and controls
45 lines (42 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* Deklarace jmenných prostorů */
@namespace "";
@namespace html "http://www.w3.org/1999/xhtml";
/*
K elementům ve jmenném prostoru xhtml lze přistupovat pomocí html|nazev-elementu
Elementy bez prefixu "html|" jsou elementy mimo jmenný prostor
*/
/*
Pokud chcete změnit zoom, přepište všechny hodnoty s komentářem "zoom"
*/
row {
display: block;
height: calc(.25*150px); /* zoom */
overflow: visible;
font-size: 0;
margin: 0;
padding: 0;
transform: scale(.25); /* zoom */
transform-origin: 0 0;
/* Nestandartní rozšíření */
width: intrinsic;
width: -moz-max-content;
width: -webkit-max-content;
-moz-transform: scale(.25); /* zoom */
-moz-transform-origin: 0 0;
-webkit-transform: scale(.25); /* zoom */
-webkit-transform-origin: 0 0;
}
row:nth-child(2n-1) {
/* Posune každý lichý řádek */
position: relative;
left: calc(.25*86.6025404px); /* zoom */
}
cell {
/* inline-block sice dovolí nastavit rozměry, ale nezalomí řádek */
display: inline-block;
margin: 0;
padding: 0;
height: 200px;
width: 173.2050808px;
background: url("./hex.svg");
}