Set a minimalist theme

This commit is contained in:
Rodolphe Breard 2019-01-27 13:27:51 +01:00
parent f8a0487f20
commit 741d36dad6
9 changed files with 386 additions and 334 deletions

View file

@ -1,3 +1,12 @@
#page_body {
background-image: url("/static/khaganat/images/bg7.jpg");
}
#messagesContainer { #messagesContainer {
margin-bottom: 20px; margin-bottom: 20px;
} }
.content-bloc {
padding: 20px;
background-color: white;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -16,7 +16,7 @@
{% block headers %}{% endblock %} {% block headers %}{% endblock %}
<title>Khaganat - {% block title %}{% endblock %}</title> <title>Khaganat - {% block title %}{% endblock %}</title>
</head> </head>
<body> <body id="page_body">
{% navbar %} {% navbar %}
<section class="section"> <section class="section">
{% if messages %} {% if messages %}

View file

@ -3,13 +3,15 @@
{% load i18n %} {% load i18n %}
{% block content %} {% block content %}
<div class="tabs"> <div class="content-bloc">
<ul> <div class="tabs">
<!-- {% trans "preferences" %} --> <ul>
{% include "neluser/settings/tab.html" with tabname="preferences" lnk="set_nsfw" %} <!-- {% trans "preferences" %} -->
<!-- {% trans "security" %} --> {% include "neluser/settings/tab.html" with tabname="preferences" lnk="set_nsfw" %}
{% include "neluser/settings/tab.html" with tabname="security" lnk="password_change" %} <!-- {% trans "security" %} -->
</ul> {% include "neluser/settings/tab.html" with tabname="security" lnk="password_change" %}
</ul>
</div>
{% block panel %}{% endblock %}
</div> </div>
{% block panel %}{% endblock %}
{% endblock %} {% endblock %}

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1024,14 +1024,15 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"co": "4.6.0", "co": "^4.6.0",
"json-stable-stringify": "1.0.1" "json-stable-stringify": "^1.0.1"
} }
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"aproba": { "aproba": {
"version": "1.1.1", "version": "1.1.1",
@ -1045,8 +1046,8 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"delegates": "1.0.0", "delegates": "^1.0.0",
"readable-stream": "2.2.9" "readable-stream": "^2.0.6"
} }
}, },
"asn1": { "asn1": {
@ -1082,7 +1083,8 @@
"balanced-match": { "balanced-match": {
"version": "0.4.2", "version": "0.4.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"bcrypt-pbkdf": { "bcrypt-pbkdf": {
"version": "1.0.1", "version": "1.0.1",
@ -1090,7 +1092,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"tweetnacl": "0.14.5" "tweetnacl": "^0.14.3"
} }
}, },
"block-stream": { "block-stream": {
@ -1099,23 +1101,25 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"inherits": "2.0.3" "inherits": "~2.0.0"
} }
}, },
"boom": { "boom": {
"version": "2.10.1", "version": "2.10.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"hoek": "2.16.3" "hoek": "2.x.x"
} }
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.7", "version": "1.1.7",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "0.4.2", "balanced-match": "^0.4.1",
"concat-map": "0.0.1" "concat-map": "0.0.1"
} }
}, },
@ -1149,13 +1153,14 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"delayed-stream": "1.0.0" "delayed-stream": "~1.0.0"
} }
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
@ -1175,7 +1180,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"boom": "2.10.1" "boom": "2.x.x"
} }
}, },
"dashdash": { "dashdash": {
@ -1184,7 +1189,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"assert-plus": "1.0.0" "assert-plus": "^1.0.0"
}, },
"dependencies": { "dependencies": {
"assert-plus": { "assert-plus": {
@ -1234,7 +1239,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"jsbn": "0.1.1" "jsbn": "~0.1.0"
} }
}, },
"extend": { "extend": {
@ -1269,17 +1274,19 @@
"fs.realpath": { "fs.realpath": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"fstream": { "fstream": {
"version": "1.0.11", "version": "1.0.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"graceful-fs": "4.1.11", "graceful-fs": "^4.1.2",
"inherits": "2.0.3", "inherits": "~2.0.0",
"mkdirp": "0.5.1", "mkdirp": ">=0.5 0",
"rimraf": "2.6.1" "rimraf": "2"
} }
}, },
"fstream-ignore": { "fstream-ignore": {
@ -1288,9 +1295,9 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"fstream": "1.0.11", "fstream": "^1.0.0",
"inherits": "2.0.3", "inherits": "2",
"minimatch": "3.0.4" "minimatch": "^3.0.0"
} }
}, },
"gauge": { "gauge": {
@ -1299,14 +1306,14 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"aproba": "1.1.1", "aproba": "^1.0.3",
"console-control-strings": "1.1.0", "console-control-strings": "^1.0.0",
"has-unicode": "2.0.1", "has-unicode": "^2.0.0",
"object-assign": "4.1.1", "object-assign": "^4.1.0",
"signal-exit": "3.0.2", "signal-exit": "^3.0.0",
"string-width": "1.0.2", "string-width": "^1.0.1",
"strip-ansi": "3.0.1", "strip-ansi": "^3.0.1",
"wide-align": "1.1.2" "wide-align": "^1.1.0"
} }
}, },
"getpass": { "getpass": {
@ -1315,7 +1322,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"assert-plus": "1.0.0" "assert-plus": "^1.0.0"
}, },
"dependencies": { "dependencies": {
"assert-plus": { "assert-plus": {
@ -1330,19 +1337,21 @@
"version": "7.1.2", "version": "7.1.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"fs.realpath": "1.0.0", "fs.realpath": "^1.0.0",
"inflight": "1.0.6", "inflight": "^1.0.4",
"inherits": "2.0.3", "inherits": "2",
"minimatch": "3.0.4", "minimatch": "^3.0.4",
"once": "1.4.0", "once": "^1.3.0",
"path-is-absolute": "1.0.1" "path-is-absolute": "^1.0.0"
} }
}, },
"graceful-fs": { "graceful-fs": {
"version": "4.1.11", "version": "4.1.11",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"har-schema": { "har-schema": {
"version": "1.0.5", "version": "1.0.5",
@ -1372,16 +1381,17 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"boom": "2.10.1", "boom": "2.x.x",
"cryptiles": "2.0.5", "cryptiles": "2.x.x",
"hoek": "2.16.3", "hoek": "2.x.x",
"sntp": "1.0.9" "sntp": "1.x.x"
} }
}, },
"hoek": { "hoek": {
"version": "2.16.3", "version": "2.16.3",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"http-signature": { "http-signature": {
"version": "1.1.1", "version": "1.1.1",
@ -1389,24 +1399,26 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"assert-plus": "0.2.0", "assert-plus": "^0.2.0",
"jsprim": "1.4.0", "jsprim": "^1.2.2",
"sshpk": "1.13.0" "sshpk": "^1.7.0"
} }
}, },
"inflight": { "inflight": {
"version": "1.0.6", "version": "1.0.6",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"once": "1.4.0", "once": "^1.3.0",
"wrappy": "1.0.2" "wrappy": "1"
} }
}, },
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.4", "version": "1.3.4",
@ -1447,7 +1459,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"jsbn": "0.1.1" "jsbn": "~0.1.0"
} }
}, },
"jsbn": { "jsbn": {
@ -1468,7 +1480,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"jsonify": "0.0.0" "jsonify": "~0.0.0"
} }
}, },
"json-stringify-safe": { "json-stringify-safe": {
@ -1522,6 +1534,7 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "1.1.7" "brace-expansion": "1.1.7"
} }
@ -1529,12 +1542,14 @@
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"mkdirp": { "mkdirp": {
"version": "0.5.1", "version": "0.5.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
} }
@ -1551,17 +1566,17 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"detect-libc": "1.0.2", "detect-libc": "^1.0.2",
"hawk": "3.1.3", "hawk": "3.1.3",
"mkdirp": "0.5.1", "mkdirp": "^0.5.1",
"nopt": "4.0.1", "nopt": "^4.0.1",
"npmlog": "4.1.0", "npmlog": "^4.0.2",
"rc": "1.2.1", "rc": "^1.1.7",
"request": "2.81.0", "request": "2.81.0",
"rimraf": "2.6.1", "rimraf": "^2.6.1",
"semver": "5.3.0", "semver": "^5.3.0",
"tar": "2.2.1", "tar": "^2.2.1",
"tar-pack": "3.4.0" "tar-pack": "^3.4.0"
} }
}, },
"nopt": { "nopt": {
@ -1570,8 +1585,8 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"abbrev": "1.1.0", "abbrev": "1",
"osenv": "0.1.4" "osenv": "^0.1.4"
} }
}, },
"npmlog": { "npmlog": {
@ -1580,10 +1595,10 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"are-we-there-yet": "1.1.4", "are-we-there-yet": "~1.1.2",
"console-control-strings": "1.1.0", "console-control-strings": "~1.1.0",
"gauge": "2.7.4", "gauge": "~2.7.3",
"set-blocking": "2.0.0" "set-blocking": "~2.0.0"
} }
}, },
"number-is-nan": { "number-is-nan": {
@ -1608,8 +1623,9 @@
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1.0.2" "wrappy": "1"
} }
}, },
"os-homedir": { "os-homedir": {
@ -1630,14 +1646,15 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"os-homedir": "1.0.2", "os-homedir": "^1.0.0",
"os-tmpdir": "1.0.2" "os-tmpdir": "^1.0.0"
} }
}, },
"path-is-absolute": { "path-is-absolute": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
}, },
"performance-now": { "performance-now": {
"version": "0.2.0", "version": "0.2.0",
@ -1669,10 +1686,10 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"deep-extend": "0.4.2", "deep-extend": "~0.4.0",
"ini": "1.3.4", "ini": "~1.3.0",
"minimist": "1.2.0", "minimist": "^1.2.0",
"strip-json-comments": "2.0.1" "strip-json-comments": "~2.0.1"
}, },
"dependencies": { "dependencies": {
"minimist": { "minimist": {
@ -1689,13 +1706,13 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"buffer-shims": "1.0.0", "buffer-shims": "~1.0.0",
"core-util-is": "1.0.2", "core-util-is": "~1.0.0",
"inherits": "2.0.3", "inherits": "~2.0.1",
"isarray": "1.0.0", "isarray": "~1.0.0",
"process-nextick-args": "1.0.7", "process-nextick-args": "~1.0.6",
"string_decoder": "1.0.1", "string_decoder": "~1.0.0",
"util-deprecate": "1.0.2" "util-deprecate": "~1.0.1"
} }
}, },
"request": { "request": {
@ -1704,36 +1721,37 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"aws-sign2": "0.6.0", "aws-sign2": "~0.6.0",
"aws4": "1.6.0", "aws4": "^1.2.1",
"caseless": "0.12.0", "caseless": "~0.12.0",
"combined-stream": "1.0.5", "combined-stream": "~1.0.5",
"extend": "3.0.1", "extend": "~3.0.0",
"forever-agent": "0.6.1", "forever-agent": "~0.6.1",
"form-data": "2.1.4", "form-data": "~2.1.1",
"har-validator": "4.2.1", "har-validator": "~4.2.1",
"hawk": "3.1.3", "hawk": "~3.1.3",
"http-signature": "1.1.1", "http-signature": "~1.1.0",
"is-typedarray": "1.0.0", "is-typedarray": "~1.0.0",
"isstream": "0.1.2", "isstream": "~0.1.2",
"json-stringify-safe": "5.0.1", "json-stringify-safe": "~5.0.1",
"mime-types": "2.1.15", "mime-types": "~2.1.7",
"oauth-sign": "0.8.2", "oauth-sign": "~0.8.1",
"performance-now": "0.2.0", "performance-now": "^0.2.0",
"qs": "6.4.0", "qs": "~6.4.0",
"safe-buffer": "5.0.1", "safe-buffer": "^5.0.1",
"stringstream": "0.0.5", "stringstream": "~0.0.4",
"tough-cookie": "2.3.2", "tough-cookie": "~2.3.0",
"tunnel-agent": "0.6.0", "tunnel-agent": "^0.6.0",
"uuid": "3.0.1" "uuid": "^3.0.0"
} }
}, },
"rimraf": { "rimraf": {
"version": "2.6.1", "version": "2.6.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"glob": "7.1.2" "glob": "^7.0.5"
} }
}, },
"safe-buffer": { "safe-buffer": {
@ -1766,7 +1784,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"hoek": "2.16.3" "hoek": "2.x.x"
} }
}, },
"sshpk": { "sshpk": {
@ -1775,15 +1793,15 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"asn1": "0.2.3", "asn1": "~0.2.3",
"assert-plus": "1.0.0", "assert-plus": "^1.0.0",
"bcrypt-pbkdf": "1.0.1", "bcrypt-pbkdf": "^1.0.0",
"dashdash": "1.14.1", "dashdash": "^1.12.0",
"ecc-jsbn": "0.1.1", "ecc-jsbn": "~0.1.1",
"getpass": "0.1.7", "getpass": "^0.1.1",
"jodid25519": "1.0.2", "jodid25519": "^1.0.0",
"jsbn": "0.1.1", "jsbn": "~0.1.0",
"tweetnacl": "0.14.5" "tweetnacl": "~0.14.0"
}, },
"dependencies": { "dependencies": {
"assert-plus": { "assert-plus": {
@ -1800,9 +1818,9 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"code-point-at": "1.1.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "1.0.0", "is-fullwidth-code-point": "^1.0.0",
"strip-ansi": "3.0.1" "strip-ansi": "^3.0.0"
} }
}, },
"string_decoder": { "string_decoder": {
@ -1811,7 +1829,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"safe-buffer": "5.0.1" "safe-buffer": "^5.0.1"
} }
}, },
"stringstream": { "stringstream": {
@ -1824,8 +1842,9 @@
"version": "3.0.1", "version": "3.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"ansi-regex": "2.1.1" "ansi-regex": "^2.0.0"
} }
}, },
"strip-json-comments": { "strip-json-comments": {
@ -1840,9 +1859,9 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"block-stream": "0.0.9", "block-stream": "*",
"fstream": "1.0.11", "fstream": "^1.0.2",
"inherits": "2.0.3" "inherits": "2"
} }
}, },
"tar-pack": { "tar-pack": {
@ -1851,14 +1870,14 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"debug": "2.6.8", "debug": "^2.2.0",
"fstream": "1.0.11", "fstream": "^1.0.10",
"fstream-ignore": "1.0.5", "fstream-ignore": "^1.0.5",
"once": "1.4.0", "once": "^1.3.3",
"readable-stream": "2.2.9", "readable-stream": "^2.1.4",
"rimraf": "2.6.1", "rimraf": "^2.5.1",
"tar": "2.2.1", "tar": "^2.2.1",
"uid-number": "0.0.6" "uid-number": "^0.0.6"
} }
}, },
"tough-cookie": { "tough-cookie": {
@ -1867,7 +1886,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"punycode": "1.4.1" "punycode": "^1.4.1"
} }
}, },
"tunnel-agent": { "tunnel-agent": {
@ -1876,7 +1895,7 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"safe-buffer": "5.0.1" "safe-buffer": "^5.0.1"
} }
}, },
"tweetnacl": { "tweetnacl": {
@ -1918,13 +1937,14 @@
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
"string-width": "1.0.2" "string-width": "^1.0.2"
} }
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true "dev": true,
"optional": true
} }
} }
}, },

View file

@ -2,8 +2,10 @@
@import "./node_modules/bulma/sass/utilities/initial-variables" @import "./node_modules/bulma/sass/utilities/initial-variables"
// 2. Set your own initial variables // 2. Set your own initial variables
$primary: #9073ff
$link: #8530bf
// 3. Import the rest of Bulma // 3. Import the rest of Bulma
@import "./node_modules/bulma/bulma" @import "./node_modules/bulma/bulma"
// 4. Import your stuff here // 4. Import your stuff here