mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 18:24:12 +02:00
demo list and page
This commit is contained in:
parent
23d9d55984
commit
667f5eae04
32 changed files with 4784 additions and 5 deletions
98
style/header.css
Normal file
98
style/header.css
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
header {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
background-color: var(--primary-color);
|
||||
border-bottom: 1px solid rgb(183, 183, 183);
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 3;
|
||||
text-transform: uppercase;
|
||||
|
||||
& a, & a:visited {
|
||||
color: var(--text-header);
|
||||
cursor: pointer;
|
||||
padding: .5em 1em;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main a {
|
||||
background: url('inline://images/logo.svg') no-repeat 0;
|
||||
background-size: 30px;
|
||||
padding-left: 35px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
& > span {
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 3;
|
||||
padding: 0;
|
||||
float: left;
|
||||
max-width: 220px;
|
||||
position: relative;
|
||||
|
||||
&.beta {
|
||||
margin-right: 20px;
|
||||
|
||||
&:after {
|
||||
content: 'beta';
|
||||
color: var(--highlight-primary);
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
right: -15px;
|
||||
top: 2px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
& > ul {
|
||||
top: 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
.main a {
|
||||
width: 0;
|
||||
overflow: hidden;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 650px) {
|
||||
.upload {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.steam-login:before {
|
||||
content: '';
|
||||
box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05);
|
||||
height: inherit;
|
||||
width: 41px;
|
||||
background-size: 30px 30px;
|
||||
background: rgba(255, 255, 255, 0.08) url('inline://images/steam_login.svg') no-repeat 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
a.steam-login {
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
height: 41px;
|
||||
margin: -1px 0;
|
||||
background-color: #5A8E27;
|
||||
color: white;
|
||||
text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
|
||||
line-height: 22px;
|
||||
position: relative;
|
||||
padding-left: 50px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue