Contest and Org css
This commit is contained in:
parent
d6832a0550
commit
ba96d83db8
16 changed files with 648 additions and 676 deletions
|
@ -240,6 +240,7 @@ a.view-pdf {
|
|||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.spacer {
|
||||
display: inline-block;
|
||||
|
|
|
@ -9,14 +9,10 @@
|
|||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
||||
.info-contest:first-child {
|
||||
.info-contest:first-child, .info-contest:nth-child(2) {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.info-contest:nth-child(2) {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.info-contest {
|
||||
flex: 1;
|
||||
}
|
||||
|
@ -155,64 +151,21 @@
|
|||
|
||||
.time-left {
|
||||
text-align: left;
|
||||
color: #777;
|
||||
padding-top: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.contest-list {
|
||||
td {
|
||||
vertical-align: middle !important;
|
||||
|
||||
&:nth-child(2) {
|
||||
min-width: 4em;
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
min-width: 6em;
|
||||
}
|
||||
}
|
||||
|
||||
tbody tr {
|
||||
height: 4em;
|
||||
}
|
||||
|
||||
.floating-time-left {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.floating-time-right {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
.floating-time {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.list-contest {
|
||||
.contest-tags {
|
||||
padding-left: 0.75em;
|
||||
vertical-align: top;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.contest-tag-hidden {
|
||||
background-color: #000000;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
||||
.participate-button {
|
||||
display: inline-block;
|
||||
width: 90px;
|
||||
}
|
||||
|
||||
.contest-block {
|
||||
text-align: left;
|
||||
padding: 0.5em 0.5em 0.5em 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.first-solve {
|
||||
|
@ -220,12 +173,14 @@
|
|||
}
|
||||
|
||||
.contest-tag {
|
||||
box-shadow: inset 0 -0.1em 0 rgba(0, 0, 0, 0.12);
|
||||
padding: 0.15em 0.3em;
|
||||
border-radius: 0.15em;
|
||||
font-weight: 600;
|
||||
margin-right: 0.45em;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.2em;
|
||||
}
|
||||
|
||||
.contest-tag-edit {
|
||||
|
|
|
@ -52,4 +52,5 @@
|
|||
.org-help-text {
|
||||
display: block;
|
||||
color: gray;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -174,15 +174,15 @@ ul.problem-list {
|
|||
}
|
||||
|
||||
.organization-tag {
|
||||
box-shadow: inset 0 -0.1em 0 rgba(0, 0, 0, 0.12);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0.15em 0.3em;
|
||||
border-radius: 0.15em;
|
||||
font-weight: 600;
|
||||
margin-right: 0.45em;
|
||||
position: relative;
|
||||
background-color: #ccc;
|
||||
transform: translateY(+35%);
|
||||
display: inline-block;
|
||||
color: initial;
|
||||
}
|
||||
|
||||
.organization-tag a {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue