-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsticker.css
78 lines (61 loc) · 1.06 KB
/
sticker.css
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* sticker */
.sticker {
box-sizing: border-box;
float: left;
padding: 4.1mm 0 0 4.3mm;
width: 65mm;
height: 36mm;
border: solid 0.1mm #fff;
font-family: Ubuntu, sans-serif;
}
.sticker:empty {
border-color: #000;
}
/* Full */
.sticker__full {
margin: 0 0 1.8mm 0;
color: #406f88;
font-weight: 400;
font-size: 15pt;
}
/* Name */
.sticker__name {
display: block;
}
.sticker__name:empty:nth-of-type(1) {
position: relative;
top: -2mm;
}
.sticker__name:empty::before {
content: '...........................................';
}
/* Twitter */
.sticker__twitter {
margin: 0 0 2.5mm -1mm;
color: #469bbb;
font-size: 15pt;
}
.sticker__twitter::before {
content: '@';
}
.sticker__twitter:empty::before {
content: '@........................................';
}
/* City */
.sticker::after {
display: block;
color: #406f88;
font-weight: 200;
font-size: 10pt;
content: 'Город — 3000';
}
.sticker:empty::after {
content: '';
}
/* Print */
@media print {
.sticker {
-webkit-print-color-adjust: exact;
text-rendering: geometricPrecision;
}
}