code cleanup

This commit is contained in:
amphineko 2020-03-26 01:17:33 +08:00
parent 2bbb1d2e54
commit 3e1c266ab0
No known key found for this signature in database
GPG Key ID: 4582E6587852EF42
3 changed files with 21 additions and 12 deletions

View File

@ -12,7 +12,7 @@
@import 'stylesheets/labels.css';
body {
background: url(./assets/images/plus.svg) #044F67;
background: url(./assets/images/plus.svg) #044f67;
background-size: 8em;
font-size: 1em;
@ -26,7 +26,8 @@ body {
}
html {
font-family: 'Helvetica Neue', Helvetica, Arial, PingFangTC-Light, 'Microsoft YaHei', 微软雅黑, 'STHeiti Light', STXihei, '华文细黑', Heiti, 黑体, sans-serif;
font-family: 'Helvetica Neue', Helvetica, Arial, PingFangTC-Light, 'Microsoft YaHei', 微软雅黑, 'STHeiti Light',
STXihei, '华文细黑', Heiti, 黑体, sans-serif;
margin: 0;
padding: 0;
}
@ -44,19 +45,24 @@ html {
display: inline-block;
}
#container, #container>*:first-child {
#container,
#container > *:first-child {
border-top-left-radius: 2em;
}
#container, #container>*:last-child, #container>*:last-child>*:last-child {
#container,
#container > *:last-child,
#container > *:last-child > *:last-child {
border-bottom-right-radius: 2em;
}
.header .small-labels .group::before, .header .small-labels .label::before {
.header .small-labels .group::before,
.header .small-labels .label::before {
color: #eee;
}
.identities .small-labels .group::before, .identities .small-labels .label::before {
.identities .small-labels .group::before,
.identities .small-labels .label::before {
color: #333;
}
@ -69,11 +75,14 @@ html {
padding: 0;
}
#container, #container>*:first-child {
#container,
#container > *:first-child {
border-top-left-radius: 0;
}
#container, #container>*:last-child, #container>*:last-child>*:last-child {
#container,
#container > *:last-child,
#container > *:last-child > *:last-child {
border-bottom-right-radius: 0;
}

View File

@ -85,11 +85,11 @@
debian gentoo
</span>
<span class="label">
<i aria-hidden="true" class="fab fa-apple"></i>
iOS macOS
<i aria-hidden="true" class="fab fa-windows"></i>
</span>
<span class="label">
<i aria-hidden="true" class="fab fa-windows"></i>
<i aria-hidden="true" class="fab fa-apple"></i>
iOS macOS
</span>
</div>
</div>

View File

@ -20,7 +20,7 @@
line-height: 1.25em;
margin: 0.25em 0;
margin-right: 0.5em;
text-shadow: 2px 2px 4px rgba(0,0,0,.25);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}
.section.header .name .chem-element {