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

673 lines
12 KiB
Text
Raw Normal View History

2018-05-15 10:33:24 +00:00
@background-color: #0d193b;
@text-color: #a0ccff;
2018-07-21 18:07:24 +00:00
@quote-color: #a0ffcc;
@spoiler-color: #ffa0cc;
2018-05-15 10:33:24 +00:00
@accent-color: white;
2018-07-15 16:14:39 +00:00
@link-color: #00aaff;
@visited-color: #aa66ff;
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-07-15 16:14:39 +00:00
a {
color: @link-color;
text-decoration: none;
2018-07-15 16:14:39 +00:00
}
a:hover, a:active {
2018-07-15 16:14:39 +00:00
color: @link-color;
text-decoration: underline;
2018-07-15 16:14:39 +00:00
}
a:visited {
color: @visited-color;
}
2018-07-21 18:07:24 +00:00
blockquote {
border-left: 3px solid @quote-color;
color: @quote-color;
background-color: rgba(red(@quote-color), green(@quote-color), blue(@quote-color), 0.1);
padding: 2px 4px 2px 8px;
2018-07-21 20:53:20 +00:00
margin-left: 8px;
2018-07-21 18:07:24 +00:00
}
blockquote p {
padding-top: 2px;
margin: 4px 0;
2018-07-21 18:07:24 +00:00
}
blockquote.spoiler {
border-color: @spoiler-color;
color: transparent;
background-color: rgba(red(@spoiler-color), green(@spoiler-color), blue(@spoiler-color), 0.1);
}
blockquote.spoiler:hover {
color: @spoiler-color;
}
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-07-21 17:16:41 +00:00
width: 100%;
2018-05-15 10:33:24 +00:00
}
2018-05-26 08:50:54 +00:00
2018-07-15 12:41:42 +00:00
textarea {
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
color: @text-color;
font-size: small;
font-family: "Consolas", "Source Code Pro", monospace;
padding: 2px;
margin: 1px;
border: 1px dotted @text-color;
width: 100%;
2018-07-15 16:14:39 +00:00
height: 300px;
2018-07-15 12:41:42 +00:00
}
2018-07-15 16:42:59 +00:00
button, input[type="submit"], .btn {
2018-07-15 12:41:42 +00:00
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
border-radius: 0;
border: 1px solid @text-color;
2018-07-15 16:40:25 +00:00
color: @text-color !important;
2018-07-21 17:21:28 +00:00
padding: 2px 8px;
2018-07-15 12:41:42 +00:00
margin: 1px;
font-size: medium;
font-family: sans-serif;
2018-07-15 16:40:25 +00:00
text-decoration: none;
cursor: default;
2018-07-15 12:41:42 +00:00
}
2018-07-15 16:42:59 +00:00
button:hover, input[type="submit"]:hover, .btn:hover {
2018-07-15 12:41:42 +00:00
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.3);
border: 1px solid @accent-color;
}
2018-07-15 16:42:59 +00:00
button:active, input[type="submit"]:active, .btn:active {
2018-07-15 16:40:25 +00:00
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.5);
color: @accent-color !important;
border: 1px solid @accent-color;
}
nav {
border-bottom: 1px solid rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
padding: 8px;
display: grid;
.left
{
grid-column: 1;
text-align: left;
}
.right
{
grid-column: 2;
text-align: right;
}
}
2018-07-24 17:23:19 +00:00
.box {
border-radius: 4px;
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
padding: 4px;
2018-07-24 17:46:41 +00:00
margin: 4px;
2018-07-24 17:23:19 +00:00
&.upper-box {
border-radius: 4px 4px 0 0;
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.2);
color: @accent-color;
font-size: small;
font-weight: bold;
}
&.lower-box {
border-radius: 0 0 4px 4px;
}
}
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 20:54:12 +00:00
width: 360px;
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-05 08:34:59 +00:00
.game-title {
grid-row: 2;
font-size: smaller;
}
.game-score {
grid-row: 3;
}
.player {
grid-row: 1;
font-size: large;
a {
text-decoration: none;
}
.player-image {
width: 32px;
height: 32px;
vertical-align: middle;
}
}
2018-06-04 09:58:27 +00:00
}
2018-07-24 17:23:19 +00:00
@media (min-width:601px) {
.mobile-only {
2018-07-21 20:46:02 +00:00
display: none;
}
}
@media (max-width:600px) {
.desktop-only {
2018-07-21 20:46:02 +00:00
display: none;
}
}
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-05 09:20:59 +00:00
grid-template-columns: 25% 25% 25% 25%;
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;
.player-image {
border-radius: 16px;
}
.player-name {
color: #ffffff;
}
}
.game-title {
font-style: normal;
}
.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));
2018-06-05 09:20:59 +00:00
grid-template-columns: 25% 25% 25% 25%;
2018-06-04 11:13:59 +00:00
padding: 18px;
grid-row-gap: 5px;
.player {
grid-row: 1;
grid-column-start: 1;
grid-column-end: 4;
.player-name {
2018-06-04 14:56:16 +00:00
color: #ffffff;
2018-06-05 09:20:59 +00:00
text-shadow: 2px 2px 8px #359ef2, -2px 2px 8px #359ef2, 2px -2px 8px #359ef2, -2px -2px 8px #359ef2;
2018-06-04 11:13:59 +00:00
}
}
.game-title {
2018-06-04 14:56:16 +00:00
text-align: center;
color: #41abfa;
2018-06-05 09:20:59 +00:00
text-shadow: 2px 2px 8px #235b8b, -2px 2px 8px #235b8b, 2px -2px 8px #235b8b, -2px -2px 8px #235b8b;
2018-06-04 11:13:59 +00:00
}
2018-06-05 08:34:59 +00:00
.game-score 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;
2018-06-04 20:54:12 +00:00
grid-template-columns: 25% 75%;
2018-06-05 09:20:59 +00:00
font-family: "Radiance", sans-serif;
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;
.player-name {
color: #ffffff;
}
}
2018-06-05 08:34:59 +00:00
.game-score.wins {
2018-06-04 16:08:18 +00:00
font-size: x-large;
}
.wins {
grid-column: 1;
text-align: center;
}
.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;
2018-06-05 09:20:59 +00:00
height: 60px;
left: -60px;
margin-right: -60px;
2018-06-04 16:08:18 +00:00
z-index: 1;
}
img.medal {
2018-06-05 09:20:59 +00:00
height: 60px;
2018-06-04 16:08:18 +00:00
}
}
2018-06-04 20:54:12 +00:00
}
.lol {
font-family: "BeaufortLoL", "Times New Roman", serif;
padding: 15px;
color: #c9aa71;
border: 3px solid #463714;
background-color: #010a13;
grid-row-gap: 5px;
2018-06-05 09:20:59 +00:00
grid-template-columns: 40% 20% 20% 20%;
2018-06-04 20:54:12 +00:00
.player {
grid-row: 1;
grid-column-start: 1;
grid-column-end: 4;
.player-image {
border-radius: 16px;
}
}
.level {
grid-column: 1;
2018-06-05 08:34:59 +00:00
}
.game-score.level {
2018-06-04 20:54:12 +00:00
font-size: x-large;
}
.soloq {
grid-column: 2;
}
.flexq {
grid-column: 3;
}
.twtrq {
grid-column: 4;
}
2018-06-05 08:34:59 +00:00
.game-title {
2018-06-04 20:54:12 +00:00
text-align: center;
}
2018-06-05 08:34:59 +00:00
.game-score {
2018-06-04 20:54:12 +00:00
text-align: center;
margin: auto;
}
.rank {
height: 40px;
}
2018-06-05 08:34:59 +00:00
}
.steam {
font-family: "Motiva Sans", sans-serif;
padding: 18px;
background: url("https://steamstore-a.akamaihd.net/public/images/v6/colored_body_top2.png?v=2") center;
.player .player-name {
grid-row: 1;
grid-column: 1;
color: #ffffff;
}
.buttons {
grid-row: 2;
grid-column-start: 1;
grid-column-end: 3;
}
.game-banner {
grid-row: 1;
grid-column: 2;
text-align: right;
img {
height: 58px;
border-radius: 4px;
}
}
a {
text-decoration: none;
display: inline-block;
}
.button {
background-color: rgba(0,0,0,0.4);
color: #9e9d9b;
width: 32px;
height: 32px;
border-radius: 4px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.button:hover, .button:active {
background-color: rgba(102,192,244,0.4);
color: #ffffff;
}
2018-06-05 10:31:11 +00:00
}
.ow {
padding: 15px;
2018-06-07 13:31:32 +00:00
font-family: "FuturaNo2D", sans-serif;
background-color: #371b00;
border: 2px solid #ff9c00;
grid-row-gap: 5px;
grid-template-columns: 25% 75%;
2018-06-07 13:31:32 +00:00
color: #ffffff;
text-transform: uppercase;
.player {
grid-row: 1;
grid-column-start: 1;
grid-column-end: 3;
2018-06-07 13:31:32 +00:00
.player-image {
border-radius: 2px;
vertical-align: middle;
}
.player-name {
2018-06-07 13:31:32 +00:00
color: #ffffff;
}
}
2018-06-07 13:31:32 +00:00
.game-title {
color: #ff9c00;
}
.game-score.level {
font-size: x-large;
}
.level {
grid-column: 1;
text-align: center;
}
.rank {
grid-column: 2;
grid-row-start: 2;
grid-row-end: 4;
margin-top: auto;
margin-bottom: auto;
2018-06-07 13:31:32 +00:00
.icon {
background-color: rgba(0, 0, 0, 0.1);
border-radius: 8px;
height: 60px;
width: 60px;
display: inline-block;
vertical-align: middle;
2018-06-07 13:31:32 +00:00
margin-right: 8px;
}
2018-06-07 13:31:32 +00:00
.ranked.text {
font-size: x-large;
}
}
}
2018-06-08 18:13:20 +00:00
.ryg {
background-color: rgba(red(@accent-color), green(@accent-color), blue(@accent-color), 0.1);
padding: 18px;
grid-template-columns: 80% 20%;
.player {
grid-row: 1;
grid-column-start: 1;
grid-column-end: 3;
font-weight: bold;
}
.member-status {
grid-column: 1;
grid-row-start: 2;
grid-row-end: 4;
font-size: x-large;
margin-top: auto;
margin-bottom: auto;
}
.fiorygi {
grid-column: 2;
}
.fiorygi.game-score {
font-size: x-large;
}
}
2018-07-15 12:41:42 +00:00
.wiki {
2018-07-15 16:48:47 +00:00
2018-07-15 12:41:42 +00:00
.wiki-log {
font-family: "Consolas", "Source Code Pro", monospace;
2018-07-15 16:56:21 +00:00
margin-bottom: 12px;
2018-07-15 12:41:42 +00:00
.last-reason {
font-style: italic;
}
}
2018-07-15 16:53:05 +00:00
.wiki-edit {
2018-07-15 16:55:16 +00:00
border-top: 1px solid rgba(red(@text-color), green(@text-color), blue(@text-color), 0.3);
2018-07-15 16:53:05 +00:00
h4 {
padding: 0;
}
}
2018-07-15 12:41:42 +00:00
}
.diario blockquote {
display: grid;
.left {
grid-column: 1;
}
.right {
grid-column: 2;
text-align: right;
margin-top: auto;
}
cite {
font-size: smaller;
}
.entry-id {
text-align: right;
}
}
2018-07-24 17:23:19 +00:00
.main-page {
display: grid;
@media (min-width:601px) {
//Desktop
.left {
grid-column: 1;
}
.right {
grid-column: 2;
}
}
@media (max-width:600px) {
//Mobile
.left {
grid-row: 1;
}
.right {
grid-row: 2;
}
}
}
.event {
display: grid;
grid-template-columns: 10% 70% 20%;
padding-top: 4px;
padding-bottom: 4px;
.time {
grid-column: 1;
grid-row: 1;
font-weight: bold;
}
.name {
grid-column: 2;
grid-row: 1;
font-weight: bold;
}
.author {
grid-column: 3;
grid-row: 1;
}
.description {
grid-row: 2;
grid-column-start: 1;
grid-column-end: 4;
}
}
2018-06-05 10:31:11 +00:00
#edit-css {
font-size: medium;
2018-06-04 09:58:27 +00:00
}