mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-12-17 23:24:20 +00:00
less css
This commit is contained in:
parent
de76a6cef7
commit
4336e5bc14
3 changed files with 15 additions and 10 deletions
|
@ -1,9 +0,0 @@
|
||||||
body {
|
|
||||||
font-family: sans-serif;
|
|
||||||
color: #a0ccff;
|
|
||||||
background-color: #0d193b;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
13
static/nryg.less
Normal file
13
static/nryg.less
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
@ryg-dark-blue: #0d193b;
|
||||||
|
@ryg-light-blue: #a0ccff;
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
color: @ryg-light-blue;
|
||||||
|
background-color: @ryg-dark-blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
|
<title>{% block pagetitle %}{% endblock %} - Royal Games</title>
|
||||||
{% block prehead %}{% endblock %}
|
{% block prehead %}{% endblock %}
|
||||||
<link href="{{ url_for('static', filename='nryg.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='nryg.less') }}" rel="stylesheet/less" type="text/css">
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.0.2/less.min.js" ></script>
|
||||||
{% block posthead %}{% endblock %}
|
{% block posthead %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue