css: Use SCSS nesting for `.contributors` in portico.scss.

This commit is contained in:
Siddharth Varshney 2020-03-25 05:52:18 +05:30 committed by Tim Abbott
parent 9e4e608460
commit 3f6ce5ffb1
1 changed files with 31 additions and 31 deletions

View File

@ -828,25 +828,8 @@ a.bottom-signup-button {
.contributors {
display: none;
}
/* Activated .contributors */
input#total:checked ~ #tab-total,
input#server:checked ~ #tab-server,
input#desktop:checked ~ #tab-desktop,
input#mobile:checked ~ #tab-mobile,
input#python-zulip-api:checked ~ #tab-python-zulip-api,
input#zulip-js:checked ~ #tab-zulip-js,
input#zulipbot:checked ~ #tab-zulipbot,
input#terminal:checked ~ #tab-terminal {
border-top: 1px solid hsl(0, 0%, 93%);
padding-top: 20px;
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.contributors .person {
.person {
box-sizing: border-box;
padding: 10px;
border: 1px solid hsl(0, 0%, 93%);
@ -876,6 +859,23 @@ input#terminal:checked ~ #tab-terminal {
margin-left: 10px;
}
}
}
/* Activated .contributors */
input#total:checked ~ #tab-total,
input#server:checked ~ #tab-server,
input#desktop:checked ~ #tab-desktop,
input#mobile:checked ~ #tab-mobile,
input#python-zulip-api:checked ~ #tab-python-zulip-api,
input#zulip-js:checked ~ #tab-zulip-js,
input#zulipbot:checked ~ #tab-zulipbot,
input#terminal:checked ~ #tab-terminal {
border-top: 1px solid hsl(0, 0%, 93%);
padding-top: 20px;
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.avatar_img {
width: auto;