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

Huge css cleanup

This commit is contained in:
Steffo 2019-08-01 17:21:15 +02:00
parent d2769743c8
commit 03d1446aad
20 changed files with 514 additions and 480 deletions

View file

@ -5,11 +5,11 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left">Under construction</span> <span class="left">Under construction</span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<p> <p>
Lentamente, su questo sito stanno apparendo nuove features. Come il <a href="{{ url_for("diarioview.diarioview_page", page=1) }}">diario</a> e i <a href="{{ url_for("profile.profile_index") }}">profili</a>! Lentamente, su questo sito stanno apparendo nuove features. Come il <a href="{{ url_for("diarioview.diarioview_page", page=1) }}">diario</a> e i <a href="{{ url_for("profile.profile_index") }}">profili</a>!
</p> </p>

View file

@ -6,13 +6,13 @@
{% block content %} {% block content %}
<div class="login"> <div class="login">
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Password Login Password Login
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<p> <p>
Non hai una password? Prova il <a href="{{ url_for("tglogin.tglogin_index") }}">Login con Telegram</a>! Non hai una password? Prova il <a href="{{ url_for("tglogin.tglogin_index") }}">Login con Telegram</a>!
</p> </p>

View file

@ -5,13 +5,13 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Password Login Password Login
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
Login riuscito! Sei connesso come <b>{{ session["royal"]["username"] }}</b>! Login riuscito! Sei connesso come <b>{{ session["royal"]["username"] }}</b>!
</div> </div>
</div> </div>

View file

@ -5,11 +5,11 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left">Minecraft Server Status</span> <span class="left">Minecraft Server Status</span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<div class="mcstatus-grid"> <div class="mcstatus-grid">
{% if query %} {% if query %}
{% if status.favicon %} {% if status.favicon %}

View file

@ -6,13 +6,13 @@
{% block content %} {% block content %}
<div class="login"> <div class="login">
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Nuovo account Nuovo account
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<form method="post" class="newaccount-form fullsize"> <form method="post" class="newaccount-form fullsize">
<label for="newaccount-username"> <label for="newaccount-username">
<span class="label-text">Username</span> <span class="label-text">Username</span>

View file

@ -5,13 +5,13 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Elenco profili Elenco profili
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<ul> <ul>
{% for royal in royals %} {% for royal in royals %}
<li><a href="{{ url_for("profile.profile_by_username", username=royal.username) }}">{{ royal.username }}</a></li> <li><a href="{{ url_for("profile.profile_by_username", username=royal.username) }}">{{ royal.username }}</a></li>

View file

@ -9,11 +9,11 @@
<h1> <h1>
{{ royal.username }} {{ royal.username }}
</h1> </h1>
<div class="doublebox profile-links"> <div class="dbox profile-links">
<div class="top"> <div class="dbox-top">
<span class="left">Account collegati</span> <span class="left">Account collegati</span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<ul class="links-list"> <ul class="links-list">
<li><span class="links-item links-linked">royalnet:{{ royal.username }}</span></li> <li><span class="links-item links-linked">royalnet:{{ royal.username }}</span></li>
{% for telegram in royal.telegram %} {% for telegram in royal.telegram %}
@ -33,11 +33,11 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="doublebox profile-stats"> <div class="dbox profile-stats">
<div class="top"> <div class="dbox-top">
<span class="left">Statistiche</span> <span class="left">Statistiche</span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<ul class="stats-list"> <ul class="stats-list">
<li><span class="stats-info">Righe del diario create</span>: <span class="stats-value">{{ royal.diario_created|length }}</span></li> <li><span class="stats-info">Righe del diario create</span>: <span class="stats-value">{{ royal.diario_created|length }}</span></li>
<li><span class="stats-info">Righe del diario in cui è menzionato</span>: <span class="stats-value">{{ royal.diario_quoted|length }}</span></li> <li><span class="stats-info">Righe del diario in cui è menzionato</span>: <span class="stats-value">{{ royal.diario_quoted|length }}</span></li>
@ -45,16 +45,16 @@
{% if royal.active_kv_group %} {% if royal.active_kv_group %}
<li><span class="stats-info">Kvgroup attivo</span>: <span class="stats-value">{{ royal.active_kv_group[0].group_name }}</span></li> <li><span class="stats-info">Kvgroup attivo</span>: <span class="stats-value">{{ royal.active_kv_group[0].group_name }}</span></li>
{% else %} {% else %}
<li><span class="stats-info">Kvgroup attivo</span>: <span class="stats-value faded">Nessuno</span></li> <li><span class="stats-info">Kvgroup attivo</span>: <span class="stats-value disabled">Nessuno</span></li>
{% endif %} {% endif %}
</ul> </ul>
</div> </div>
</div> </div>
<div class="doublebox profile-aliases"> <div class="dbox profile-aliases">
<div class="top"> <div class="dbox-top">
<span class="left">Alias</span> <span class="left">Alias</span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<ul class="alias-list"> <ul class="alias-list">
{% for alias in royal.aliases %} {% for alias in royal.aliases %}
<li>{{ alias.alias|capitalize }}</li> <li>{{ alias.alias|capitalize }}</li>

View file

@ -5,13 +5,13 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Telegram Login Telegram Login
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<p> <p>
Facendo il login su questo sito, acconsenti a ricevere due <abbr title="cookie">biscottini</abbr> che memorizzino l'account con cui hai fatto il login.<br> Facendo il login su questo sito, acconsenti a ricevere due <abbr title="cookie">biscottini</abbr> che memorizzino l'account con cui hai fatto il login.<br>
</p> </p>

View file

@ -5,13 +5,13 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Telegram Login Telegram Login
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
Login riuscito! Sei connesso come <b>{{ session["royal"]["username"] }}</b>! Login riuscito! Sei connesso come <b>{{ session["royal"]["username"] }}</b>!
</div> </div>
</div> </div>

View file

@ -10,15 +10,15 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Editor Wiki Editor Wiki
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<form method="POST" class="wikiedit-form fullsize"> <form method="POST" class="wikiedit-form fullsize">
<label for="wikiedit-title"> <label for="wikiedit-title" class="label-big">
<span class="label-text">Titolo</span> <span class="label-text">Titolo</span>
<input id="wikiedit-title" type="text" name="title" value="{{ page.title }}"> <input id="wikiedit-title" type="text" name="title" value="{{ page.title }}">
</label> </label>

View file

@ -5,13 +5,13 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox"> <div class="dbox">
<div class="top"> <div class="dbox-top">
<span class="left"> <span class="left">
Wiki Wiki
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
{% if session.royal %} {% if session.royal %}
<a href="{{ url_for("wikiedit.wikiedit_newpage") }}" class="btn no-icon">Crea nuova pagina</a> <a href="{{ url_for("wikiedit.wikiedit_newpage") }}" class="btn no-icon">Crea nuova pagina</a>
{% else %} {% else %}

View file

@ -5,8 +5,9 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="doublebox wikiview-doublebox"> <div class="wikiview">
<div class="top"> <div class="dbox wiki-doublebox">
<div class="dbox-top">
<span class="left"> <span class="left">
Wiki page Wiki page
</span> </span>
@ -14,13 +15,13 @@
{% if session.royal %} {% if session.royal %}
<a class="edit no-icon" href="{{ url_for("wikiedit.wikiedit_by_id", page_id=page.page_short_id, title=page.title) }}">Modifica</a> <a class="edit no-icon" href="{{ url_for("wikiedit.wikiedit_by_id", page_id=page.page_short_id, title=page.title) }}">Modifica</a>
{% else %} {% else %}
<a class="edit no-icon faded" title="Devi fare il login per modificare pagine!">Modifica</a> <a class="edit no-icon disabled" title="Devi fare il login per modificare pagine!">Modifica</a>
{% endif %} {% endif %}
| |
<a class="permalink no-icon" href="{{ url_for("wikiview.wikiview_by_id", page_id=page.page_short_id, title=page.title) }}">Permalink</a> <a class="permalink no-icon" href="{{ url_for("wikiview.wikiview_by_id", page_id=page.page_short_id, title=page.title) }}">Permalink</a>
</span> </span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<div class="wikiview-page"> <div class="wikiview-page">
<h1 class="wikiview-title"> <h1 class="wikiview-title">
{{ page.title }} {{ page.title }}
@ -31,4 +32,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
{% endblock %} {% endblock %}

View file

@ -1,3 +1,5 @@
/*** Variables ***/
/*** Standard elements ***/
body { body {
font-family: "Arial", "Helvetica Neue", sans-serif; font-family: "Arial", "Helvetica Neue", sans-serif;
background-color: #0d193b; background-color: #0d193b;
@ -116,6 +118,14 @@ a:not(.no-icon)[href^="magnet:"]::before {
content: "\f076"; content: "\f076";
margin-right: 4px; margin-right: 4px;
} }
b,
strong {
color: #ffff7d;
}
i,
em {
color: #ffbb7d;
}
h1, h1,
h2, h2,
h3, h3,
@ -128,11 +138,17 @@ h6 {
font-weight: normal; font-weight: normal;
} }
pre { pre {
color: lightgray;
border: 1px solid rgba(160, 204, 255, 0.1);
background-color: rgba(160, 204, 255, 0.1);
padding: 2px 4px 2px 8px; padding: 2px 4px 2px 8px;
margin: 8px; margin: 8px;
color: lightgray;
border: 1px solid rgba(211, 211, 211, 0.2);
background-color: rgba(211, 211, 211, 0.1);
font-family: "Consolas", "Source Code Pro", monospace;
}
*:not(pre) > code {
color: lightgray;
border: 1px solid rgba(211, 211, 211, 0.2);
background-color: rgba(211, 211, 211, 0.1);
} }
code { code {
font-family: "Consolas", "Source Code Pro", monospace; font-family: "Consolas", "Source Code Pro", monospace;
@ -298,27 +314,106 @@ table tbody tr:last-child td:first-child {
table tbody tr:last-child td:last-child { table tbody tr:last-child td:last-child {
border-radius: 0 0 4px 0; border-radius: 0 0 4px 0;
} }
.h-container { form.fullsize label {
margin-top: 4px;
margin-bottom: 4px;
display: flex;
}
form.fullsize label .label-text {
margin-right: 12px;
min-width: 60px;
}
form.fullsize label input {
flex-grow: 1;
}
form.fullsize label.label-big {
font-size: x-large;
}
form.fullsize label.label-big * {
font-size: x-large;
}
*[disabled=""],
.disabled {
opacity: 0.3;
}
/*** Custom elements ***/
.CodeMirror {
font-family: "Consolas", monospace !important;
background-color: transparent;
color: #a0ccff;
border-top: 0;
border-bottom: 0;
border-left: 1px solid rgba(160, 204, 255, 0.2);
border-right: 1px solid rgba(160, 204, 255, 0.2);
border-radius: 0;
}
.CodeMirror .cm-link {
color: #7dffff !important;
}
.CodeMirror .cm-url {
color: #00caca !important;
}
.CodeMirror .cm-tag {
color: #ff7dff !important;
}
.CodeMirror .cm-strong {
color: #ffff7d !important;
}
.CodeMirror .cm-em {
color: #ffbb7d !important;
}
.CodeMirror .cm-quote {
color: #7dff7d !important;
}
.CodeMirror .cm-comment {
color: lightgray !important;
}
.CodeMirror .cm-header {
color: #ffffff !important;
}
.editor-toolbar,
.editor-statusbar {
background-color: #0e1c47;
color: #a0ccff !important;
border: 0;
opacity: 1 !important;
}
.editor-toolbar a,
.editor-statusbar a {
color: #a0ccff !important;
border: 0;
}
.editor-toolbar a:hover,
.editor-statusbar a:hover {
background-color: rgba(160, 204, 255, 0.2);
color: #ffffff !important;
}
.editor-toolbar a.active,
.editor-statusbar a.active {
background-color: rgba(160, 204, 255, 0.3);
color: white !important;
}
.editor-toolbar a.active:hover,
.editor-statusbar a.active:hover {
background-color: rgba(160, 204, 255, 0.2);
color: #ffffff !important;
}
.horizontal-container {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
flex-direction: column;
}
@media (min-width: 800px) {
.h-container {
flex-direction: row; flex-direction: row;
} }
@media (max-width: 799px) {
.horizontal-container {
flex-direction: column;
} }
.main-container { }
.vertical-main {
width: 100%; width: 100%;
} }
@media (min-width: 800px) {
.main-container {
width: 800px;
}
}
@media (min-width: 1200px) { @media (min-width: 1200px) {
.main-container { .vertical-main {
width: 1200px; width: 1200px;
} }
} }
@ -328,10 +423,10 @@ table tbody tr:last-child td:last-child {
padding: 8px; padding: 8px;
margin: 8px; margin: 8px;
} }
.doublebox { .dbox {
margin: 8px; margin: 8px;
} }
.doublebox .top { .dbox .dbox-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: rgba(160, 204, 255, 0.2); background-color: rgba(160, 204, 255, 0.2);
@ -342,41 +437,27 @@ table tbody tr:last-child td:last-child {
font-weight: bold; font-weight: bold;
height: 16px; height: 16px;
} }
.doublebox .top .left { .dbox .dbox-top .left {
align-self: flex-start; align-self: flex-start;
} }
.doublebox .top .right { .dbox .dbox-top .right {
align-self: flex-end; align-self: flex-end;
} }
.doublebox .bot { .dbox .dbox-bot {
background-color: rgba(160, 204, 255, 0.1); background-color: rgba(160, 204, 255, 0.1);
padding: 8px; padding: 8px;
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
} }
.doublebox.doublebox-red .top { .color {
background-color: rgba(255, 125, 125, 0.2);
color: #ff7d7d;
}
.doublebox.doublebox-red .bot {
background-color: rgba(255, 125, 125, 0.1);
color: #ff7d7d;
}
.multirow {
list-style-type: none;
margin-top: 0;
margin-bottom: 0;
padding-left: 0;
}
.palette-color {
border-radius: 4px; border-radius: 4px;
width: 32px; width: 32px;
height: 32px; height: 32px;
display: inline-block; display: inline-block;
} }
.palette-color.light { .color.color-light {
border: 1px solid black; border: 1px solid black;
} }
.palette-color.dark { .color.color-dark {
border: 1px solid white; border: 1px solid white;
} }
.proscons { .proscons {
@ -487,7 +568,7 @@ table tbody tr:last-child td:last-child {
content: "\f0c8"; content: "\f0c8";
margin-right: 6px; margin-right: 6px;
} }
.proscons.big { .proscons.label-big {
font-size: xx-large; font-size: xx-large;
} }
.spoiler { .spoiler {
@ -499,155 +580,35 @@ table tbody tr:last-child td:last-child {
.spoiler:hover { .spoiler:hover {
color: #a0ccff; color: #a0ccff;
} }
.faded, .wiki .wiki-doublebox .dbox-bot {
input[disabled=""],
button[disabled=""] {
opacity: 0.3;
}
form.fullsize label {
margin-top: 4px;
margin-bottom: 4px;
display: flex;
}
form.fullsize label .label-text {
margin-right: 12px;
min-width: 60px;
}
form.fullsize label input {
flex-grow: 1;
}
form.fullsize label[for="wikiedit-title"] {
font-size: x-large;
}
form.fullsize label[for="wikiedit-title"] * {
font-size: x-large;
}
form.fullsize .editor-toolbar,
form.fullsize .editor-statusbar {
background-color: #0e1c47;
color: #a0ccff !important;
border: 0;
opacity: 1 !important;
}
form.fullsize .editor-toolbar a,
form.fullsize .editor-statusbar a {
color: #a0ccff !important;
border: 0;
}
form.fullsize .editor-toolbar a:hover,
form.fullsize .editor-statusbar a:hover {
background-color: rgba(160, 204, 255, 0.2);
color: #ffffff !important;
}
form.fullsize .editor-toolbar a.active,
form.fullsize .editor-statusbar a.active {
background-color: rgba(160, 204, 255, 0.3);
color: white !important;
}
form.fullsize .editor-toolbar a.active:hover,
form.fullsize .editor-statusbar a.active:hover {
background-color: rgba(160, 204, 255, 0.2);
color: #ffffff !important;
}
form.fullsize .CodeMirror {
font-family: "Consolas", monospace !important;
background-color: transparent;
color: #a0ccff;
border-top: 0;
border-bottom: 0;
border-left: 1px solid rgba(160, 204, 255, 0.2);
border-right: 1px solid rgba(160, 204, 255, 0.2);
border-radius: 0;
}
form.fullsize .CodeMirror .cm-link {
color: #7dffff !important;
}
form.fullsize .CodeMirror .cm-url {
color: #00caca !important;
}
form.fullsize .CodeMirror .cm-tag {
color: #ff7dff !important;
}
form.fullsize .CodeMirror .cm-strong {
color: #ffff7d !important;
}
form.fullsize .CodeMirror .cm-em {
color: #ffbb7d !important;
}
form.fullsize .CodeMirror .cm-quote {
color: #7dff7d !important;
}
form.fullsize .CodeMirror .cm-comment {
color: lightgray !important;
}
form.fullsize .CodeMirror .cm-header {
color: #ffffff !important;
}
.mcstatus-grid {
display: grid;
grid-template-columns: 64px auto auto;
grid-column-gap: 12px;
align-items: center;
}
.mcstatus-grid .mcstatus-icon {
grid-column: 1;
grid-row-start: 1;
grid-row-end: 3;
width: 64px;
height: 64px;
}
.mcstatus-grid .mcstatus-icon .mcstatus-icon-img {
width: 64px;
height: 64px;
}
.mcstatus-grid .mcstatus-address {
font-weight: bold;
grid-column: 2;
justify-self: start;
grid-row: 1;
}
.mcstatus-grid .mcstatus-address .server-up {
color: #7dff7d;
}
.mcstatus-grid .mcstatus-address .server-down {
color: #ff7d7d;
}
.mcstatus-grid .mcstatus-description {
grid-column: 2;
justify-self: start;
grid-row: 2;
}
.mcstatus-grid .mcstatus-players {
grid-column: 3;
justify-self: end;
grid-row: 1;
}
.mcstatus-grid .mcstatus-version {
grid-column: 3;
justify-self: end;
grid-row: 2;
}
.wikiview-doublebox .bot {
background-color: transparent; background-color: transparent;
border-top: 0; border-top: 0;
border-bottom: 4px solid rgba(160, 204, 255, 0.2); border-bottom: 4px solid rgba(160, 204, 255, 0.2);
border-left: 4px solid rgba(160, 204, 255, 0.2); border-left: 4px solid rgba(160, 204, 255, 0.2);
border-right: 4px solid rgba(160, 204, 255, 0.2); border-right: 4px solid rgba(160, 204, 255, 0.2);
} }
.wikiview-doublebox .bot .wikiview-title { .wiki .wiki-doublebox .dbox-bot .wikiview-title {
text-align: center; text-align: center;
font-size: 42px; font-size: 42px;
margin-top: 0; margin-top: 0;
} }
.wikiview-doublebox .bot h1, .wiki h1,
.wikiview-doublebox .bot h2, .wiki h2,
.wikiview-doublebox .bot h3, .wiki h3,
.wikiview-doublebox .bot h4, .wiki h4,
.wikiview-doublebox .bot h5, .wiki h5,
.wikiview-doublebox .bot h6 { .wiki h6 {
margin-top: revert; margin-top: revert;
margin-bottom: revert; margin-bottom: revert;
} }
.error .error-dbox .dbox-top {
background-color: rgba(255, 125, 125, 0.2);
color: #ff7d7d;
}
.error .error-dbox .dbox-bot {
background-color: rgba(255, 125, 125, 0.1);
color: #ff7d7d;
}
.diario { .diario {
display: grid; display: grid;
grid-template-columns: auto auto 40px; grid-template-columns: auto auto 40px;
@ -709,6 +670,51 @@ form.fullsize .CodeMirror .cm-header {
.diario.diario-spoiler:hover { .diario.diario-spoiler:hover {
color: #ff7d7d; color: #ff7d7d;
} }
/*** Page specific classes ***/
.mcstatus-grid {
display: grid;
grid-template-columns: 64px auto auto;
grid-column-gap: 12px;
align-items: center;
}
.mcstatus-grid .mcstatus-icon {
grid-column: 1;
grid-row-start: 1;
grid-row-end: 3;
width: 64px;
height: 64px;
}
.mcstatus-grid .mcstatus-icon .mcstatus-icon-img {
width: 64px;
height: 64px;
}
.mcstatus-grid .mcstatus-address {
font-weight: bold;
grid-column: 2;
justify-self: start;
grid-row: 1;
}
.mcstatus-grid .mcstatus-address .server-up {
color: #7dff7d;
}
.mcstatus-grid .mcstatus-address .server-down {
color: #ff7d7d;
}
.mcstatus-grid .mcstatus-description {
grid-column: 2;
justify-self: start;
grid-row: 2;
}
.mcstatus-grid .mcstatus-players {
grid-column: 3;
justify-self: end;
grid-row: 1;
}
.mcstatus-grid .mcstatus-version {
grid-column: 3;
justify-self: end;
grid-row: 2;
}
.profile .profile-links .links-linked { .profile .profile-links .links-linked {
font-family: "Consolas", "Source Code Pro", monospace; font-family: "Consolas", "Source Code Pro", monospace;
} }

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,5 @@
/*** Variables ***/
@bg: #0d193b; //Background color @bg: #0d193b; //Background color
@fg: #a0ccff; //Foreground color @fg: #a0ccff; //Foreground color
@li: #00caca; //Link @li: #00caca; //Link
@ -20,7 +22,9 @@
@main-fonts: "Arial", "Helvetica Neue", sans-serif; @main-fonts: "Arial", "Helvetica Neue", sans-serif;
@monospace-fonts: "Consolas", "Source Code Pro", monospace; @monospace-fonts: "Consolas", "Source Code Pro", monospace;
//General
/*** Standard elements ***/
body { body {
font-family: @main-fonts; font-family: @main-fonts;
background-color: @bg; background-color: @bg;
@ -165,6 +169,14 @@ a {
} }
} }
b, strong {
color: @pastel-yellow;
}
i, em {
color: @pastel-orange;
}
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: @ec; color: @ec;
margin-top: 0; margin-top: 0;
@ -172,15 +184,21 @@ h1, h2, h3, h4, h5, h6 {
font-weight: normal; font-weight: normal;
} }
pre { pre {
color: lightgray;
border: 1px solid @fg-ten;
background-color: @fg-ten;
padding: 2px 4px 2px 8px; padding: 2px 4px 2px 8px;
margin: 8px; margin: 8px;
color: lightgray;
border: 1px solid fade(lightgray, 20%);
background-color: fade(lightgray, 10%);
font-family: @monospace-fonts;
} }
*:not(pre) > code {
color: lightgray;
border: 1px solid fade(lightgray, 20%);
background-color: fade(lightgray, 10%);
}
code { code {
font-family: @monospace-fonts; font-family: @monospace-fonts;
} }
@ -369,28 +387,126 @@ table {
} }
} }
form.fullsize {
//Elements label {
margin-top: 4px;
margin-bottom: 4px;
display: flex;
.h-container { .label-text {
margin-right: 12px;
min-width: 60px;
}
input {
flex-grow: 1;
}
&.label-big {
font-size: x-large;
* {
font-size: x-large;
}
}
}
}
*[disabled=""], .disabled {
opacity: 0.3;
}
/*** Custom elements ***/
//Markdown editor
.CodeMirror {
font-family: "Consolas", monospace !important;
background-color: transparent;
color: @fg;
border-top: 0;
border-bottom: 0;
border-left: 1px solid @fg-twenty;
border-right: 1px solid @fg-twenty;
border-radius: 0;
.cm-link {
color: @pastel-cyan !important;
}
.cm-url {
color: @li !important;
}
.cm-tag {
color: @pastel-magenta !important;
}
.cm-strong {
color: @pastel-yellow !important;
}
.cm-em {
color: @pastel-orange !important;
}
.cm-quote {
color: @pastel-lime !important;
}
.cm-comment {
color: lightgray !important;
}
.cm-header {
color: @ec !important;
}
}
.editor-toolbar, .editor-statusbar {
background-color: @fg-twenty-hard;
color: @fg !important;
border: 0;
opacity: 1 !important;
a {
color: @fg !important;
border: 0;
&:hover {
background-color: @fg-twenty;
color: lighten(@fg, 25%) !important;
}
&.active {
background-color: fade(@fg, 30%);
color: white !important;
&:hover {
background-color: @fg-twenty;
color: lighten(@fg, 25%) !important;
}
}
}
}
//Horizontal container, should contain elements such as main and sidebar
.horizontal-container {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
flex-direction: column;
@media (min-width: 800px)
{
flex-direction: row; flex-direction: row;
}
}
.main-container { @media (max-width: 799px)
width: 100%;
@media (min-width: 800px)
{ {
width: 800px; flex-direction: column;
} }
}
//Vertical main page container
.vertical-main {
width: 100%;
@media (min-width: 1200px) @media (min-width: 1200px)
{ {
@ -398,6 +514,7 @@ table {
} }
} }
//A simple box
.box { .box {
background-color: @fg-ten; background-color: @fg-ten;
border-radius: 4px; border-radius: 4px;
@ -405,10 +522,11 @@ table {
margin: 8px; margin: 8px;
} }
.doublebox { //A double box
.dbox {
margin: 8px; margin: 8px;
.top { .dbox-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: @fg-twenty; background-color: @fg-twenty;
@ -428,54 +546,36 @@ table {
} }
} }
.bot { .dbox-bot {
background-color: @fg-ten; background-color: @fg-ten;
padding: 8px; padding: 8px;
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
} }
&.doublebox-red {
.top {
background-color: fade(@pastel-red, 20%);
color: @pastel-red;
} }
.bot { //A palette color
background-color: fade(@pastel-red, 10%); .color {
color: @pastel-red;
}
}
}
//This is something about the sidebar... better leave it alone.
.multirow {
list-style-type: none;
margin-top: 0;
margin-bottom: 0;
padding-left: 0;
}
.palette-color {
border-radius: 4px; border-radius: 4px;
width: 32px; width: 32px;
height: 32px; height: 32px;
display: inline-block; display: inline-block;
&.light { &.color-light {
border: 1px solid black; border: 1px solid black;
} }
&.dark { &.color-dark {
border: 1px solid white; border: 1px solid white;
} }
} }
//noinspection CssNoGenericFontName //Pros and cons of something
.proscons { .proscons {
padding: 4px 4px 4px 8px; padding: 4px 4px 4px 8px;
margin: 4px; margin: 4px;
border-radius: 4px; border-radius: 4px;
//noinspection CssNoGenericFontName
&.plus { &.plus {
color: @pastel-lime; color: @pastel-lime;
background-color: fade(@pastel-lime, 10%); background-color: fade(@pastel-lime, 10%);
@ -488,6 +588,7 @@ table {
} }
} }
//noinspection CssNoGenericFontName
&.minus { &.minus {
color: @pastel-red; color: @pastel-red;
background-color: fade(@pastel-red, 10%); background-color: fade(@pastel-red, 10%);
@ -500,6 +601,7 @@ table {
} }
} }
//noinspection CssNoGenericFontName
&.stars { &.stars {
background-color: fade(@pastel-yellow, 10%); background-color: fade(@pastel-yellow, 10%);
color: @pastel-yellow; color: @pastel-yellow;
@ -590,6 +692,7 @@ table {
} }
} }
//noinspection CssNoGenericFontName
&:not(.plus):not(.minus):not(.stars) { &:not(.plus):not(.minus):not(.stars) {
color: @fg; color: @fg;
background-color: @fg-ten; background-color: @fg-ten;
@ -602,11 +705,12 @@ table {
} }
} }
&.big { &.label-big {
font-size: xx-large; font-size: xx-large;
} }
} }
//A spoiler
.spoiler { .spoiler {
color: transparent; color: transparent;
border: 1px solid @fg-ten; border: 1px solid @fg-ten;
@ -618,165 +722,10 @@ table {
} }
} }
.faded, input[disabled=""], button[disabled=""] { //Wiki page
opacity: 0.3; .wiki {
} .wiki-doublebox {
.dbox-bot {
form.fullsize {
label {
margin-top: 4px;
margin-bottom: 4px;
display: flex;
.label-text {
margin-right: 12px;
min-width: 60px;
}
input {
flex-grow: 1;
}
}
label[for="wikiedit-title"] {
font-size: x-large;
* {
font-size: x-large;
}
}
.editor-toolbar, .editor-statusbar {
background-color: @fg-twenty-hard;
color: @fg !important;
border: 0;
opacity: 1 !important;
a {
color: @fg !important;
border: 0;
&:hover {
background-color: @fg-twenty;
color: lighten(@fg, 25%) !important;
}
&.active {
background-color: fade(@fg, 30%);
color: white !important;
&:hover {
background-color: @fg-twenty;
color: lighten(@fg, 25%) !important;
}
}
}
}
.CodeMirror {
font-family: "Consolas", monospace !important;
background-color: transparent;
color: @fg;
border-top: 0;
border-bottom: 0;
border-left: 1px solid @fg-twenty;
border-right: 1px solid @fg-twenty;
border-radius: 0;
.cm-link {
color: @pastel-cyan !important;
}
.cm-url {
color: @li !important;
}
.cm-tag {
color: @pastel-magenta !important;
}
.cm-strong {
color: @pastel-yellow !important;
}
.cm-em {
color: @pastel-orange !important;
}
.cm-quote {
color: @pastel-lime !important;
}
.cm-comment {
color: lightgray !important;
}
.cm-header {
color: @ec !important;
}
}
}
.mcstatus-grid {
display: grid;
grid-template-columns: 64px auto auto;
grid-column-gap: 12px;
align-items: center;
.mcstatus-icon {
grid-column: 1;
grid-row-start: 1;
grid-row-end: 3;
width: 64px;
height: 64px;
.mcstatus-icon-img {
width: 64px;
height: 64px;
}
}
.mcstatus-address {
font-weight: bold;
grid-column: 2;
justify-self: start;
grid-row: 1;
.server-up {
color: @pastel-lime;
}
.server-down {
color: @pastel-red;
}
}
.mcstatus-description {
grid-column: 2;
justify-self: start;
grid-row: 2;
}
.mcstatus-players {
grid-column: 3;
justify-self: end;
grid-row: 1;
}
.mcstatus-version {
grid-column: 3;
justify-self: end;
grid-row: 2;
}
}
.wikiview-doublebox {
.bot {
background-color: transparent; background-color: transparent;
border-top: 0; border-top: 0;
border-bottom: 4px solid @fg-twenty; border-bottom: 4px solid @fg-twenty;
@ -788,14 +737,31 @@ form.fullsize {
font-size: 42px; font-size: 42px;
margin-top: 0; margin-top: 0;
} }
}
}
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
margin-top: revert; margin-top: revert;
margin-bottom: revert; margin-bottom: revert;
} }
} }
//An error
.error {
.error-dbox {
.dbox-top {
background-color: fade(@pastel-red, 20%);
color: @pastel-red;
} }
.dbox-bot {
background-color: fade(@pastel-red, 10%);
color: @pastel-red;
}
}
}
//A diario entry
.diario { .diario {
display: grid; display: grid;
grid-template-columns: auto auto 40px; grid-template-columns: auto auto 40px;
@ -868,6 +834,66 @@ form.fullsize {
} }
} }
/*** Page specific classes ***/
.mcstatus-grid {
display: grid;
grid-template-columns: 64px auto auto;
grid-column-gap: 12px;
align-items: center;
.mcstatus-icon {
grid-column: 1;
grid-row-start: 1;
grid-row-end: 3;
width: 64px;
height: 64px;
.mcstatus-icon-img {
width: 64px;
height: 64px;
}
}
.mcstatus-address {
font-weight: bold;
grid-column: 2;
justify-self: start;
grid-row: 1;
.server-up {
color: @pastel-lime;
}
.server-down {
color: @pastel-red;
}
}
.mcstatus-description {
grid-column: 2;
justify-self: start;
grid-row: 2;
}
.mcstatus-players {
grid-column: 3;
justify-self: end;
grid-row: 1;
}
.mcstatus-version {
grid-column: 3;
justify-self: end;
grid-row: 2;
}
}
.profile { .profile {
.profile-links { .profile-links {

View file

@ -228,27 +228,27 @@ nav .nav-sitename {
nav .nav-login-unavailable { nav .nav-login-unavailable {
opacity: 0.25; opacity: 0.25;
} }
.h-container { .horizontal-container {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
flex-direction: column; flex-direction: column;
} }
@media (min-width: 800px) { @media (min-width: 800px) {
.h-container { .horizontal-container {
flex-direction: row; flex-direction: row;
} }
} }
.main-container { .vertical-main {
width: 100%; width: 100%;
} }
@media (min-width: 800px) { @media (min-width: 800px) {
.main-container { .vertical-main {
width: 800px; width: 800px;
} }
} }
@media (min-width: 1200px) { @media (min-width: 1200px) {
.main-container { .vertical-main {
width: 1200px; width: 1200px;
} }
} }
@ -259,10 +259,10 @@ nav .nav-login-unavailable {
padding: 4px; padding: 4px;
margin: 8px; margin: 8px;
} }
.doublebox { .dbox {
margin: 8px; margin: 8px;
} }
.doublebox .top { .dbox .dbox-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: #9a4713; background-color: #9a4713;
@ -272,27 +272,27 @@ nav .nav-login-unavailable {
font-family: "TF2 Build", sans-serif; font-family: "TF2 Build", sans-serif;
font-weight: normal; font-weight: normal;
} }
.doublebox .top .left { .dbox .dbox-top .left {
align-self: flex-start; align-self: flex-start;
} }
.doublebox .top .right { .dbox .dbox-top .right {
align-self: flex-end; align-self: flex-end;
} }
.doublebox .top a { .dbox .dbox-top a {
color: #00caca; color: #00caca;
} }
.doublebox .bot { .dbox .dbox-bot {
background-color: #d2cdc8; background-color: #d2cdc8;
color: black; color: black;
padding: 8px; padding: 8px;
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
} }
.doublebox .bot h1, .dbox .dbox-bot h1,
.doublebox .bot h2, .dbox .dbox-bot h2,
.doublebox .bot h3, .dbox .dbox-bot h3,
.doublebox .bot h4, .dbox .dbox-bot h4,
.doublebox .bot h5, .dbox .dbox-bot h5,
.doublebox .bot h6 { .dbox .dbox-bot h6 {
color: black; color: black;
} }
.spoiler { .spoiler {
@ -303,7 +303,7 @@ nav .nav-login-unavailable {
.spoiler:hover { .spoiler:hover {
color: #d2cdc8; color: #d2cdc8;
} }
.faded { .disabled {
opacity: 0.3; opacity: 0.3;
} }
/*# sourceMappingURL=tf2.css.map */ /*# sourceMappingURL=tf2.css.map */

View file

@ -1 +1 @@
{"version":3,"sources":["tf2.less"],"names":[],"mappings":"AAMA;EACI,aAAa,KAAb;EACA,SAAS,qCAAT;;AAGJ;EACI,aAAa,WAAb;EACA,SAAS,0CAAT;;AAGJ;EACI,aAAa,eAAb;EACA,SAAS,8CAAT;;AAGJ;EACI,aAAa,eAAb;EACA,SAAS,8CAAT;;AAOJ;EACI,aALS,2BAKT;EACA,yBAAA;EACA,cAAA;EACA,sBAAA;;AAGJ;EACI,cAAA;EACA,qBAAA;;AAEA,CAAC;EACG,cAAA;;AAGJ,CAAC;EACG,YAAA;;AAOA,CAFH,IAAI,UAEA;EACG,aAAa,qBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CAVH,IAAI,UAUA,sBAAsB;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ACG,cAAA;;AAIR;EACI,YAAA","file":"tf2.css"}

View file

@ -275,7 +275,7 @@ nav {
//Elements //Elements
.h-container { .horizontal-container {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
@ -287,7 +287,7 @@ nav {
} }
} }
.main-container { .vertical-main {
width: 100%; width: 100%;
@media (min-width: 800px) @media (min-width: 800px)
@ -309,10 +309,10 @@ nav {
margin: 8px; margin: 8px;
} }
.doublebox { .dbox {
margin: 8px; margin: 8px;
.top { .dbox-top {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: @li; background-color: @li;
@ -335,7 +335,7 @@ nav {
} }
} }
.bot { .dbox-bot {
background-color: @fg; background-color: @fg;
color: black; color: black;
padding: 8px; padding: 8px;
@ -357,6 +357,6 @@ nav {
} }
} }
.faded { .disabled {
opacity: 0.3; opacity: 0.3;
} }

View file

@ -48,15 +48,15 @@
<span class="nav-login"> <span class="nav-login">
<a class="no-icon" href="{{ url_for("login.login_index") }}"> <a class="no-icon" href="{{ url_for("login.login_index") }}">
Login Login
<img class="nav-image faded" alt="" src="{{ url_for("static", filename="generic.png") }}"> <img class="nav-image disabled" alt="" src="{{ url_for("static", filename="generic.png") }}">
</a> </a>
</span> </span>
{% endif %} {% endif %}
</span> </span>
</div> </div>
</nav> </nav>
<div class="h-container"> <div class="horizontal-container">
<div class="main-container"> <div class="vertical-main">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div> </div>
</div> </div>

View file

@ -6,11 +6,11 @@
{% block content %} {% block content %}
<div class="error"> <div class="error">
<div class="doublebox doublebox-red"> <div class="dbox error-dbox">
<div class="top"> <div class="dbox-top">
<span class="left">Errore!</span> <span class="left">Errore!</span>
</div> </div>
<div class="bot"> <div class="dbox-bot">
<h1> <h1>
{{ title }} {{ title }}
</h1> </h1>