Last active 2 weeks ago

make a custom work skin using the contents of skin.css and then use the markup in the html file for your location headers

ao3
arknights location header.html Raw
1<div class="locationHeader light"><div class="deco"><div class="outer"></div><div class="motif"></div></div><h3>!! LOCATION GOES HERE !!</h3>
2<p>!! DATE GOES HERE !!</p></div>
skin.css Raw
1#workskin .locationHeader {
2 font-family: sans-serif;
3 position: relative;
4 height: 145px;
5 margin-top: 25px;
6 margin-left: 25px;
7 box-sizing: border-box;
8}
9
10#workskin .locationHeader {
11 color: currentColor;
12}
13
14#workskin .locationHeader .deco {
15 position: relative;
16 width: 100px;
17 height: 100px;
18}
19
20#workskin .locationHeader .deco .outer {
21 border: 10px currentColor solid;
22 box-shadow: inset 0 0 10px currentColor;
23 opacity: .25;
24 width: 100%;
25 height: 100%;
26 transform: translate(0, 0) rotate(-45deg);
27 position: absolute;
28 left: 0;
29 top: 0;
30}
31
32#workskin .locationHeader .deco:before,
33#workskin .locationHeader .deco:after {
34 content: "";
35 position: absolute;
36 top: 60%;
37 left: 60%;
38 transform: translate(-50%, -50%) rotate(-45deg);
39}
40
41#workskin .locationHeader .deco:before {
42 border: 3px currentColor solid;
43 opacity: .75;
44 width: 45px;
45 height: 45px;
46}
47
48#workskin .locationHeader .deco:after {
49 background-color: currentColor;
50 opacity: .75;
51 width: 35px;
52 height: 35px;
53}
54
55#workskin .locationHeader .deco .motif {
56 display: block;
57 width: 20px;
58 height: 20px;
59 border: 3px currentColor solid;
60 position: absolute;
61 top: 60%;
62 left: 60%;
63 transform: translate(-50%, -50%) scale(40%, 1) rotate(-45deg);
64 border-color: currentColor;
65 background-image: linear-gradient(to right top, transparent, transparent 50%, currentColor 50.1%, currentColor);
66 z-index: 99;
67}
68
69#workskin .locationHeader h3 {
70 font-size: 1.2rem;
71 margin: 0;
72 z-index: 10;
73 position: absolute;
74 top: 50%;
75 transform: translateY(-22px);
76 left: 110px;
77 font-weight: bold;
78 border-bottom: none;
79}
80
81#workskin .locationHeader p {
82 font-weight: normal;
83 font-size: 1.1rem;
84 position: absolute;
85 z-index: 10;
86 top: 50%;
87 left: 110px;
88 margin: 0;
89}