1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
royalnet/static/nryg.less

272 lines
4.6 KiB
Text
Raw Normal View History

2018-05-15 10:33:24 +00:00
@background-color: #0d193b;
@text-color: #a0ccff;
@accent-color: white;
2018-05-14 08:43:20 +00:00
body {
font-family: sans-serif;
2018-05-15 10:33:24 +00:00
color: @text-color;
background-color: @background-color;
2018-05-14 08:43:20 +00:00
}
h1, h2, h3, h4, h5, h6 {
2018-05-15 10:33:24 +00:00
color: @accent-color;
2018-05-14 08:43:20 +00:00
}
2018-05-26 08:50:54 +00:00
input[type="text"], input[type="password"] {
2018-05-15 10:33:24 +00:00
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
color: @text-color;
border: none;
border-bottom: 1px dashed @text-color;
padding: 2px;
2018-05-26 08:50:54 +00:00
margin: 1px;
2018-05-15 10:33:24 +00:00
font-size: medium;
font-family: sans-serif;
}
2018-05-26 08:50:54 +00:00
.input-grid {
display: grid;
label {
margin: 3px;
grid-column: 1;
max-width: 120px;
}
input {
grid-column: 2;
}
}
2018-06-04 09:58:27 +00:00
.game-panel {
2018-06-04 15:09:56 +00:00
display: inline-block;
}
.game-grid {
2018-06-04 11:13:59 +00:00
display: grid;
2018-06-04 15:09:56 +00:00
width: 400px;
2018-06-04 14:56:16 +00:00
height: 100px;
2018-06-04 15:09:56 +00:00
border-radius: 10px;
2018-06-04 14:56:16 +00:00
margin: 4px;
2018-06-04 15:09:56 +00:00
position: relative;
2018-06-04 09:58:27 +00:00
}
.osu {
font-family: 'Exo 2', 'Helvetica Neue', 'Arial', sans-serif;
font-style: italic;
border: 8px solid #ffffff;
color: #ffffff;
padding: 10px;
2018-06-04 11:13:59 +00:00
grid-row-gap: 5px;
2018-06-04 09:58:27 +00:00
.background-image {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-image: url("https://osu.ppy.sh/images/layout/nav-backgrounds/triangles-combined.png");
z-index: -2;
}
.background-color {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: rgba(187, 17, 119, 0.9);
z-index: -1;
}
.player {
grid-row: 1;
grid-column-start: 1;
grid-column-end: 4;
font-size: large;
a {
text-decoration: none;
}
.player-image {
width: 32px;
height: 32px;
border-radius: 16px;
vertical-align: middle;
}
.player-name {
color: #ffffff;
}
}
.game-title {
grid-row: 2;
font-size: smaller;
font-style: normal;
}
.game-score {
grid-row: 3;
}
.standard {
grid-column: 1;
}
.taiko {
grid-column: 2;
}
.catch {
grid-column: 3;
}
.mania {
grid-column: 4;
}
.number {
font-size: large;
}
.pp {
font-size: x-small;
}
2018-06-04 11:13:59 +00:00
}
.rl {
background-image: linear-gradient(to bottom,rgba(35,91,139,.5),rgba(16,54,84,.5)),
linear-gradient(to right,rgba(35,91,139,.7),rgba(16,54,84,.7));
padding: 18px;
grid-row-gap: 5px;
.player {
grid-row: 1;
grid-column-start: 1;
grid-column-end: 4;
font-size: large;
a {
text-decoration: none;
}
.player-image {
width: 32px;
height: 32px;
vertical-align: middle;
}
.player-name {
vertical-align: middle;
2018-06-04 14:56:16 +00:00
color: #ffffff;
2018-06-04 11:13:59 +00:00
}
}
.game-title {
grid-row: 2;
font-size: smaller;
2018-06-04 14:56:16 +00:00
text-align: center;
color: #41abfa;
2018-06-04 11:13:59 +00:00
}
.game-score {
grid-row: 3;
2018-06-04 14:56:16 +00:00
img {
height: 36px;
display: block;
margin: auto;
}
2018-06-04 11:13:59 +00:00
}
.duel {
grid-column: 1;
}
.doubles {
grid-column: 2;
}
.standard {
grid-column: 3;
}
.solostd {
grid-column: 4;
}
2018-06-04 16:08:18 +00:00
}
.dota {
2018-06-04 16:53:25 +00:00
padding: 15px;
border: 3px solid #000000;
2018-06-04 16:08:18 +00:00
grid-row-gap: 5px;
grid-template-columns: 20% 80%;
2018-06-04 16:53:25 +00:00
background-image: linear-gradient(to bottom, #440b0b, #631013);
2018-06-04 16:08:18 +00:00
color: #ffffff;
.player {
grid-row: 1;
grid-column-start: 1;
grid-column-end: 3;
font-size: large;
a {
text-decoration: none;
}
.player-image {
width: 32px;
height: 32px;
vertical-align: middle;
}
.player-name {
color: #ffffff;
}
}
.title {
grid-row: 2;
font-size: x-small;
}
.number {
grid-row: 3;
font-size: x-large;
}
.wins {
grid-column: 1;
text-align: center;
}
2018-06-04 16:53:25 +00:00
.wins.number {
color: #ffb600;
}
2018-06-04 16:08:18 +00:00
.rank {
grid-column: 2;
grid-row-start: 2;
grid-row-end: 4;
margin-top: auto;
margin-bottom: auto;
img {
vertical-align: middle;
}
img.stars {
position: relative;
height: 44px;
left: -44px;
margin-right: -44px;
z-index: 1;
}
img.medal {
height: 44px;
}
}
2018-06-04 09:58:27 +00:00
}