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

Improve base page

This commit is contained in:
Steffo 2019-06-07 19:20:15 +02:00
parent 8c04edabaf
commit 7fd241e1fd
5 changed files with 85 additions and 34 deletions

View file

@ -7,10 +7,10 @@
{% block content %}
<div class="doublebox">
<div class="top">
<span class="left">Ciao!</span>
<span class="left">Under construction</span>
</div>
<div class="bot">
Ciao!
Non c'è ancora niente qui. O quasi. C'è solo la <a href="{{ url_for("wikiview.wikiview_index") }}">wiki</a> in sola lettura...
</div>
</div>
{% endblock %}

View file

@ -185,6 +185,33 @@ img {
display: block;
max-width: 100%;
}
nav {
display: flex;
justify-content: space-between;
height: 50px;
line-height: 50px;
}
nav .nav-left {
text-align: left;
}
nav .nav-center {
text-align: center;
}
nav .nav-right {
text-align: right;
}
nav .nav-image {
height: 50px;
display: inline;
vertical-align: middle;
}
nav .nav-sitename {
color: #ffffff;
font-weight: bold;
}
nav .nav-login-unavailable {
opacity: 0.25;
}
.h-container {
display: flex;
justify-content: center;
@ -209,19 +236,6 @@ img {
width: 1200px;
}
}
.title-bar {
display: flex;
justify-content: center;
align-content: center;
font-size: 64px;
color: #ffffff;
}
.title-bar .ryg-logo {
width: 144px;
height: 144px;
display: inline;
vertical-align: middle;
}
.box {
background-color: rgba(160, 204, 255, 0.1);
border-radius: 4px;

View file

@ -1 +1 @@
{"version":3,"sources":["styling.less"],"names":[],"mappings":"AAiBA;EACI,aALS,SAAS,4BAKlB;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;EACnB,aAAa,uBAAb;EACA,iBAAA;EACA,SAAS,OAAT;EACA,iBAAA;;AAIJ,CAlB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;AAEA,QAAC;EACG,cAAA","file":"styling.css"}

View file

@ -226,6 +226,40 @@ img {
max-width: 100%;
}
nav {
display: flex;
justify-content: space-between;
height: 50px;
line-height: 50px;
.nav-left {
text-align: left;
}
.nav-center {
text-align: center;
}
.nav-right {
text-align: right;
}
.nav-image {
height: 50px;
display: inline;
vertical-align: middle;
}
.nav-sitename {
color: @ec;
font-weight: bold;
}
.nav-login-unavailable {
opacity: 0.25;
}
}
//Elements
.h-container {
@ -254,21 +288,6 @@ img {
}
}
.title-bar {
display: flex;
justify-content: center;
align-content: center;
font-size: 64px;
color: @ec;
.ryg-logo {
width: 144px;
height: 144px;
display: inline;
vertical-align: middle;
}
}
.box {
background-color: fade(@fg, 10%);
border-radius: 4px;

View file

@ -14,9 +14,27 @@
<link rel="icon" href="{{ url_for("static", filename="logo.png") }}" type="image/png">
</head>
<body>
<div class="title-bar">
<span><img class="ryg-logo" src="{{ url_for('static', filename="logo.svg") }}" alt=""> Royal Games</span>
</div>
<nav>
<div class="nav-left">
<span class="nav-site">
<img class="nav-image" alt="" src="{{ url_for("static", filename="logo.svg") }}">
<span class="nav-sitename">Royal Games</span>
</span>
<span class="nav-modules">
<a class="no-icon" href="{{ url_for("wikiview.wikiview_index") }}">Wiki</a>
</span>
</div>
<div class="nav-center">
</div>
<div class="nav-right">
<span>
<span class="nav-login nav-login-unavailable">
<span class="nav-accountname">Account non disponibili</span>
<img class="nav-image" alt="" src="{{ url_for("static", filename="logo.svg") }}">
</span>
</span>
</div>
</nav>
<div class="h-container">
<div class="main-container">
{% block content %}{% endblock %}