modify shieldsio pic style no radius corner

pull/411/head
saeziae 2022-03-11 15:11:09 +08:00
parent 1ef083179c
commit bd8cf85b17
1 changed files with 4 additions and 42 deletions

View File

@ -1,55 +1,45 @@
img.shields-icon { img.shields-icon {
display: inline-block; display: inline-block;
vertical-align: text-bottom; vertical-align: text-bottom;
border: none;
border-radius: 0%;
} }
a.github-profile { a.github-profile {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
text-decoration: none !important; text-decoration: none !important;
color: inherit; color: inherit;
img { img {
display: inline-block; display: inline-block;
height: 2em; height: 2em;
vertical-align: middle; vertical-align: middle;
border-radius: 50%; border-radius: 50%;
border: #aaa;
} }
b { b {
margin: 0 1ex; margin: 0 1ex;
} }
} }
.gh-contribuors { .gh-contribuors {
display: grid; display: grid;
margin: 0 0 1rem; margin: 0 0 1rem;
padding: 0 1rem; padding: 0 1rem;
grid-gap: 0.5rem; grid-gap: 0.5rem;
grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr)); grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr));
img { img {
width: 2rem; width: 2rem;
height: 2rem; height: 2rem;
border-radius: 50%; border-radius: 50%;
border: #aaa;
} }
} }
.csv-table { .csv-table {
margin: 0; margin: 0;
white-space: nowrap; white-space: nowrap;
th { th {
text-align: center; text-align: center;
} }
} }
.mtf-wiki { .mtf-wiki {
span:nth-child(1), span:nth-child(1),
span:nth-child(4) { span:nth-child(4) {
@ -60,26 +50,18 @@ a.github-profile {
color: #f6a8b8; color: #f6a8b8;
} }
} }
.doctor-story { .doctor-story {
display: inline !important; display: inline !important;
height: 6em; height: 6em;
vertical-align: middle; vertical-align: middle;
} }
.user-tag { .user-tag {
font-weight: 700; font-weight: 700;
line-height: 1; line-height: 1;
display: inline-block; display: inline-block;
padding: 0.25em 0.6em 0.4em; padding: 0.25em 0.6em 0.4em;
text-align: center; text-align: center;
white-space: nowrap; white-space: nowrap;
border-radius: 10em; border-radius: 10em;
&.positive { &.positive {
color: #fff; color: #fff;
@ -90,11 +72,9 @@ a.github-profile {
background-color: #ffc107; background-color: #ffc107;
} }
} }
.sign-off-by { .sign-off-by {
text-align: right; text-align: right;
} }
.single__contents { .single__contents {
h2 { h2 {
margin-top: 1.5rem; margin-top: 1.5rem;
@ -103,7 +83,6 @@ a.github-profile {
padding: 0; padding: 0;
} }
} }
.single__contents[data-dir="ltr"] { .single__contents[data-dir="ltr"] {
a { a {
text-decoration: none; text-decoration: none;
@ -116,7 +95,6 @@ a.github-profile {
} }
} }
} }
.notices { .notices {
padding-left: 0.5em; padding-left: 0.5em;
ol, ol,
@ -124,11 +102,9 @@ a.github-profile {
padding-left: 1rem; padding-left: 1rem;
} }
} }
p.text-center { p.text-center {
text-align: center; text-align: center;
} }
span.shadow-text { span.shadow-text {
color: #252525; color: #252525;
background-color: #252525; background-color: #252525;
@ -136,48 +112,34 @@ span.shadow-text {
&:hover, &:hover,
&:active { &:active {
transition: color 0.13s linear; transition: color 0.13s linear;
color: #fff; color: #fff;
} }
} }
.inline-img { .inline-img {
display: inline-block !important; display: inline-block !important;
height: 4em; height: 4em;
vertical-align: middle; vertical-align: middle;
border: none !important; border: none !important;
} }
.qrcode > img { .qrcode > img {
margin: 0; margin: 0;
border: 0; border: 0;
} }
.trans-flag { .trans-flag {
display: inline-block; display: inline-block;
width: 1em; width: 1em;
height: 1em; height: 1em;
margin: 0 0.05em 0 0.1em; margin: 0 0.05em 0 0.1em;
vertical-align: -0.1em; vertical-align: -0.1em;
background: url("/images/trans-flag.svg") no-repeat center / 1em 1em; background: url("/images/trans-flag.svg") no-repeat center / 1em 1em;
} }
a.anchor { a.anchor {
font-size: 0.6em; font-size: 0.6em;
vertical-align: top; vertical-align: top;
color: #0594cb; color: #0594cb;
&:hover, &:hover,
&:focus { &:focus {
transition: color 0.15s ease-in; transition: color 0.15s ease-in;
color: #96ccff; color: #96ccff;
} }
} }