Browse Source

style: minor changes, leave Raleway

trophies
Lephe 2 months ago
parent
commit
b3ffd132f9

+ 1
- 1
app/static/css/container.css View File

@@ -25,5 +25,5 @@ section h2 {
25 25
 section .avatar {
26 26
 	display: block;
27 27
 	border-radius: 2px;
28
-	width: 150px; height: 150px;
28
+	width: 128px; height: 128px;
29 29
 }

+ 1
- 1
app/static/css/form.css View File

@@ -1,5 +1,5 @@
1 1
 .form .avatar {
2
-	width: 150px; height: 150px;
2
+	width: 128px; height: 128px;
3 3
 }
4 4
 
5 5
 .form .avatar + input[type="file"] {

+ 0
- 2
app/static/css/global.css View File

@@ -1,8 +1,6 @@
1 1
 /* Fonts */
2 2
 
3 3
 @font-face { font-family: NotoSans; src: url(../fonts/noto_sans.ttf); }
4
-@font-face { font-family: Raleway; font-weight: 200; src: url(../fonts/raleway_200.ttf); }
5
-@font-face { font-family: Raleway; font-weight: 300; src: url(../fonts/raleway_300.ttf); }
6 4
 @font-face { font-family: Cantarell; font-weight: normal; src: url(../fonts/Cantarell-Regular.otf); }
7 5
 @font-face { font-family: Cantarell; font-weight: bold; src: url(../fonts/Cantarell-Bold.otf); }
8 6
 

+ 2
- 19
app/static/css/light.css View File

@@ -82,26 +82,17 @@
82 82
 }
83 83
 #menu h2 {
84 84
 	margin: 10px 0 10px 40px;
85
-	font-family: Raleway; font-size: 15px;
86
-	color: #ffffff;
85
+	font-size: 15px;
87 86
 }
88 87
 #menu h2 > svg {
89
-	width: 30px; vertical-align: middle;
90
-}
91
-#menu h2 > img {
92
-	width: 64px; margin-right: 10px;
93
-	vertical-align: middle; border-radius: 50%;
88
+	width: 30px;
94 89
 }
95 90
 
96 91
 #menu h3 {
97 92
 	margin: 10px 0 10px 40px;
98
-	font-family: Raleway; font-size: 13px;
99
-	color: #ffffff;
100 93
 }
101 94
 #menu hr {
102 95
 	margin: 10px 15px 0 15px;
103
-	border: none;
104
-	border-bottom: 1px solid rgba(0, 0, 0, .15);
105 96
 }
106 97
 
107 98
 #menu > div > a,
@@ -117,14 +108,6 @@
117 108
 	margin: 0; font-style: normal;
118 109
 	font-size: 12px;
119 110
 }
120
-#menu a > img {
121
-	vertical-align: middle;
122
-	margin-right: 15px;
123
-}
124
-#menu a > svg {
125
-	width: 20px; height: 20px; vertical-align: middle;
126
-	margin-right: 10px;
127
-}
128 111
 #menu ul {
129 112
 	list-style: none;
130 113
 	margin: 10px 15px; padding: 0;

+ 3
- 3
app/static/css/navbar.css View File

@@ -129,7 +129,7 @@ nav a:focus {
129 129
 
130 130
 #menu h2 {
131 131
 	margin: 5% 0 20px 40px;
132
-	font-family: Raleway; font-size: 18px;
132
+	font-family: Cantarell; font-weight: normal; font-size: 19px;
133 133
 	color: #ffffff;
134 134
 }
135 135
 #menu h2 a {
@@ -140,7 +140,7 @@ nav a:focus {
140 140
 	font-size: inherit; opacity: inherit;
141 141
 }
142 142
 #menu h2 > svg {
143
-	width: 42px; vertical-align: middle;
143
+	width: 42px; vertical-align: middle; margin-right: 8px;
144 144
 }
145 145
 #menu h2 img {
146 146
 	width: 64px; border-radius: 2px; vertical-align: middle; margin-right: 10px;
@@ -152,7 +152,7 @@ nav a:focus {
152 152
 
153 153
 #menu h3 {
154 154
 	margin: 20px 0 20px 40px;
155
-	font-family: Raleway; font-size: 14px;
155
+	font-family: Cantarell; font-weight: normal; font-size: 15px;
156 156
 	color: #ffffff;
157 157
 }
158 158
 #menu hr {

BIN
app/static/fonts/raleway_200.ttf View File


BIN
app/static/fonts/raleway_300.ttf View File


+ 7
- 15
app/templates/base/navbar/account.html View File

@@ -9,26 +9,22 @@
9 9
 	<a href="#">
10 10
 		<svg viewBox="0 0 24 24">
11 11
 			<path fill="#ffffff" d="M20,2A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H6L2,22V4C2,2.89 2.9,2 4,2H20M4,4V17.17L5.17,16H20V4H4M6,7H18V9H6V7M6,11H15V13H6V11Z"></path>
12
-		</svg>
13
-		Notifications
12
+		</svg>Notifications
14 13
 	</a>
15 14
 	<a href="#">
16 15
 		<svg viewBox="0 0 24 24">
17 16
 			<path fill="#ffffff" d="M2,2V11C2,12 3,13 4,13H6.2C6.6,15 7.9,16.7 11,17V19.1C8.8,19.3 8,20.4 8,21.7V22H16V21.7C16,20.4 15.2,19.3 13,19.1V17C16.1,16.7 17.4,15 17.8,13H20C21,13 22,12 22,11V2H18C17.1,2 16,3 16,4H8C8,3 6.9,2 6,2H2M4,4H6V6L6,11H4V4M18,4H20V11H18V6L18,4M8,6H16V11.5C16,13.43 15.42,15 12,15C8.59,15 8,13.43 8,11.5V6Z"></path>
18
-		</svg>
19
-		Trophées
17
+		</svg>Trophées
20 18
 	</a>
21 19
 	<a href="#">
22 20
 		<svg viewBox="0 0 24 24">
23 21
 			<path fill="#ffffff" d="M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z"></path>
24
-		</svg>
25
-		Topics favoris
22
+		</svg>Topics favoris
26 23
 	</a>
27 24
 	<a href="{{ url_for('adm') }}">
28 25
 		<svg viewBox="0 0 24 24">
29 26
 			<path fill="#ffffff" d="M3,1H19A1,1 0 0,1 20,2V6A1,1 0 0,1 19,7H3A1,1 0 0,1 2,6V2A1,1 0 0,1 3,1M3,9H19A1,1 0 0,1 20,10V10.67L17.5,9.56L11,12.44V15H3A1,1 0 0,1 2,14V10A1,1 0 0,1 3,9M3,17H11C11.06,19.25 12,21.4 13.46,23H3A1,1 0 0,1 2,22V18A1,1 0 0,1 3,17M8,5H9V3H8V5M8,13H9V11H8V13M8,21H9V19H8V21M4,3V5H6V3H4M4,11V13H6V11H4M4,19V21H6V19H4M17.5,12L22,14V17C22,19.78 20.08,22.37 17.5,23C14.92,22.37 13,19.78 13,17V14L17.5,12M17.5,13.94L15,15.06V17.72C15,19.26 16.07,20.7 17.5,21.06V13.94Z"></path>
30
-		</svg>
31
-		Panel d'administration
27
+		</svg>Panel d'administration
32 28
 	</a>
33 29
 
34 30
 	<hr />
@@ -36,21 +32,17 @@
36 32
 	<a href="{{ url_for('edit_account') }}">
37 33
 		<svg viewBox="0 0 24 24">
38 34
 			<path fill="#ffffff" d="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"></path>
39
-		</svg>
40
-		Paramètres
35
+		</svg>Paramètres
41 36
 	</a>
42 37
 	<a href="{{ url_for('logout') }}">
43 38
 		<svg viewBox="0 0 24 24">
44 39
 			<path fill="#ffffff" d="M17,17.25V14H10V10H17V6.75L22.25,12L17,17.25M13,2A2,2 0 0,1 15,4V8H13V4H4V20H13V16H15V20A2,2 0 0,1 13,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2H13Z"></path>
45
-		</svg>
46
-		Déconnexion
40
+		</svg>Déconnexion
47 41
 	</a>
48 42
 </div>
49 43
 {% else %}
50 44
 <div>
51
-	<h2>
52
-		Invité
53
-	</h2>
45
+	<h2>Invité</h2>
54 46
 	<form method="post" action="{{url_for('login')}}" class="login">
55 47
 		{{ login_form.hidden_tag() }}
56 48
 		{{ login_form.username(size=32, placeholder="Identifiant") }}

+ 6
- 12
app/templates/base/navbar/programs.html View File

@@ -2,32 +2,27 @@
2 2
 	<h2>
3 3
 		<svg viewBox="0 0 24 24">
4 4
 			<path fill="#ffffff" d="M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z"></path>
5
-		</svg>
6
-		Programmes
5
+		</svg>Programmes
7 6
 	</h2>
8 7
 	<a href="#">
9 8
 		<svg viewBox="0 0 24 24">
10 9
 			<path fill="#ffffff" d="M7,6H17A6,6 0 0,1 23,12A6,6 0 0,1 17,18C15.22,18 13.63,17.23 12.53,16H11.47C10.37,17.23 8.78,18 7,18A6,6 0 0,1 1,12A6,6 0 0,1 7,6M6,9V11H4V13H6V15H8V13H10V11H8V9H6M15.5,12A1.5,1.5 0 0,0 14,13.5A1.5,1.5 0 0,0 15.5,15A1.5,1.5 0 0,0 17,13.5A1.5,1.5 0 0,0 15.5,12M18.5,9A1.5,1.5 0 0,0 17,10.5A1.5,1.5 0 0,0 18.5,12A1.5,1.5 0 0,0 20,10.5A1.5,1.5 0 0,0 18.5,9Z"></path>
11
-		</svg>
12
-		Jeux
10
+		</svg>Jeux
13 11
 	</a>
14 12
 	<a href="#">
15 13
 		<svg viewBox="0 0 24 24">
16 14
 			<path fill="#ffffff" d="M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M16.53,11.06L15.47,10L10.59,14.88L8.47,12.76L7.41,13.82L10.59,17L16.53,11.06Z"></path>
17
-		</svg>
18
-		Utilitaires
15
+		</svg>Utilitaires
19 16
 	</a>
20 17
 	<a href="#">
21 18
 		<svg viewBox="0 0 24 24">
22 19
 			<path fill="#ffffff" d="M21,16H3V4H21M21,2H3C1.89,2 1,2.89 1,4V16A2,2 0 0,0 3,18H10V20H8V22H16V20H14V18H21A2,2 0 0,0 23,16V4C23,2.89 22.1,2 21,2Z"></path>
23
-		</svg>
24
-		Logiciels
20
+		</svg>Logiciels
25 21
 	</a>
26 22
 	<a href="#">
27 23
 		<svg viewBox="0 0 24 24">
28 24
 			<path fill="#ffffff" d="M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z"></path>
29
-		</svg>
30
-		Top 20
25
+		</svg>Top 20
31 26
 	</a>
32 27
 
33 28
 	<hr />
@@ -35,8 +30,7 @@
35 30
 	<a href="#">
36 31
 		<svg viewBox="0 0 24 24">
37 32
 			<path fill="#ffffff" d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z" />
38
-		</svg>
39
-		Recherche avancée
33
+		</svg>Recherche avancée
40 34
 	</a>
41 35
 
42 36
 	<hr />

+ 4
- 8
app/templates/base/navbar/tools.html View File

@@ -2,26 +2,22 @@
2 2
 	<h2>
3 3
 		<svg viewBox="0 0 24 24">
4 4
 			<path fill="#ffffff" d="M22.7,19L13.6,9.9C14.5,7.6 14,4.9 12.1,3C10.1,1 7.1,0.6 4.7,1.7L9,6L6,9L1.6,4.7C0.4,7.1 0.9,10.1 2.9,12.1C4.8,14 7.5,14.5 9.8,13.6L18.9,22.7C19.3,23.1 19.9,23.1 20.3,22.7L22.6,20.4C23.1,20 23.1,19.3 22.7,19Z"></path>
5
-		</svg>
6
-		Outils
5
+		</svg>Outils
7 6
 	</h2>
8 7
 
9 8
 	<a href="#">
10 9
 		<svg viewBox="0 0 24 24">
11 10
 			<path fill="#ffffff" d="M2.6,10.59L8.38,4.8L10.07,6.5C9.83,7.35 10.22,8.28 11,8.73V14.27C10.4,14.61 10,15.26 10,16A2,2 0 0,0 12,18A2,2 0 0,0 14,16C14,15.26 13.6,14.61 13,14.27V9.41L15.07,11.5C15,11.65 15,11.82 15,12A2,2 0 0,0 17,14A2,2 0 0,0 19,12A2,2 0 0,0 17,10C16.82,10 16.65,10 16.5,10.07L13.93,7.5C14.19,6.57 13.71,5.55 12.78,5.16C12.35,5 11.9,4.96 11.5,5.07L9.8,3.38L10.59,2.6C11.37,1.81 12.63,1.81 13.41,2.6L21.4,10.59C22.19,11.37 22.19,12.63 21.4,13.41L13.41,21.4C12.63,22.19 11.37,22.19 10.59,21.4L2.6,13.41C1.81,12.63 1.81,11.37 2.6,10.59Z"></path>
12
-		</svg>
13
-		Forge GitLab
11
+		</svg>Forge Gitea
14 12
 	</a>
15 13
 	<a href="#">
16 14
 		<svg viewBox="0 0 24 24">
17 15
 			<path fill="#ffffff" d="M14.97,18.95L12.41,12.92C11.39,14.91 10.27,17 9.31,18.95C9.3,18.96 8.84,18.95 8.84,18.95C7.37,15.5 5.85,12.1 4.37,8.68C4.03,7.84 2.83,6.5 2,6.5C2,6.4 2,6.18 2,6.05H7.06V6.5C6.46,6.5 5.44,6.9 5.7,7.55C6.42,9.09 8.94,15.06 9.63,16.58C10.1,15.64 11.43,13.16 12,12.11C11.55,11.23 10.13,7.93 9.71,7.11C9.39,6.57 8.58,6.5 7.96,6.5C7.96,6.35 7.97,6.25 7.96,6.06L12.42,6.07V6.47C11.81,6.5 11.24,6.71 11.5,7.29C12.1,8.53 12.45,9.42 13,10.57C13.17,10.23 14.07,8.38 14.5,7.41C14.76,6.76 14.37,6.5 13.29,6.5C13.3,6.38 13.3,6.17 13.3,6.07C14.69,6.06 16.78,6.06 17.15,6.05V6.47C16.44,6.5 15.71,6.88 15.33,7.46L13.5,11.3C13.68,11.81 15.46,15.76 15.65,16.2L19.5,7.37C19.2,6.65 18.34,6.5 18,6.5C18,6.37 18,6.2 18,6.05L22,6.08V6.1L22,6.5C21.12,6.5 20.57,7 20.25,7.75C19.45,9.54 17,15.24 15.4,18.95C15.4,18.95 14.97,18.95 14.97,18.95Z"></path>
18
-		</svg>
19
-		Casio Universal Wiki
16
+		</svg>Casio Universal Wiki
20 17
 	</a>
21 18
 	<a href="#">
22 19
 		<svg viewBox="0 0 24 24">
23 20
 			<path fill="#ffffff" d="M19,8L15,12H18A6,6 0 0,1 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20A8,8 0 0,0 20,12H23M6,12A6,6 0 0,1 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4A8,8 0 0,0 4,12H1L5,16L9,12"></path>
24
-		</svg>
25
-		SH4 Compatibility Tool
21
+		</svg>SH4 Compatibility Tool
26 22
 	</a>
27 23
 </div>

+ 7
- 2
app/templates/user.html View File

@@ -1,9 +1,14 @@
1 1
 {% extends "base/base.html" %}
2 2
 
3
+{% block title %}
4
+<h1>Profil de '{{ user.name }}'</h1>
5
+{% endblock %}
6
+
3 7
 {% block content %}
4 8
 <section>
5
-	<h1>
9
+	<div>
6 10
 		<img class="avatar" src="{{ url_for('static', filename=user.avatar) }}" alt="{{ user.name }}" style="display:inline; vertical-align:middle;"/>
7
-		Profil de {{ user.name }}</h1>
11
+		{{ user.name }}
12
+  </div>
8 13
 </section>
9 14
 {% endblock %}

Loading…
Cancel
Save