Browse Source

css tweaks; use svg logo

parazyd 2 years ago
parent
commit
df96c1cf5f
3 changed files with 101 additions and 106 deletions
  1. 1 1
      header.html
  2. 86 95
      static/logo.svg
  3. 14 10
      static/style.css

+ 1 - 1
header.html

@@ -11,6 +11,6 @@
11 11
   <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="heads' atom feed">
12 12
 </head>
13 13
 	<div id="header">
14
-    <span class="logo"><a href="/"><img width="50" src="static/logo_big.png" alt="表"></a></span>
14
+    <span class="logo"><a href="/"><img id="logo" src="static/logo.svg" alt="表"></a></span>
15 15
     <a id="headerLink" href="/">heads</a> <span id="headerSubtitle">::: the libre privacy distro</span>
16 16
 	</div>

File diff suppressed because it is too large
+ 86 - 95
static/logo.svg


+ 14 - 10
static/style.css

@@ -127,6 +127,14 @@ code {
127 127
 	vertical-align: middle;
128 128
 }
129 129
 
130
+.logo a a:hover {
131
+	text-decoration: none;
132
+}
133
+
134
+#logo {
135
+	transform:scale(1.2);
136
+}
137
+
130 138
 #header img {
131 139
 	width: 50px;
132 140
 	vertical-align: middle;
@@ -138,6 +146,12 @@ code {
138 146
 	text-decoration: none;
139 147
 }
140 148
 
149
+#headerSubtitle {
150
+	font-size: 0.75em;
151
+	/* font-style: italic; */
152
+	/* margin-left: 1em; */
153
+}
154
+
141 155
 h1 {
142 156
 	font-family: archi, sans-serif;
143 157
 	margin: 0em 1ex 0.5ex 0;
@@ -162,12 +176,6 @@ h4 {
162 176
 	font-size: 0.9em;
163 177
 }
164 178
 
165
-#headerSubtitle {
166
-	font-size: 0.75em;
167
-	/* font-style: italic; */
168
-	/* margin-left: 1em; */
169
-}
170
-
171 179
 #content {
172 180
 	clear: both;
173 181
 	text-align: justify;
@@ -199,10 +207,6 @@ h4 {
199 207
 	color: #32034a;
200 208
 }
201 209
 
202
-.logo a a:hover {
203
-	text-decoration: none;
204
-}
205
-
206 210
 .left {
207 211
 	float: left;
208 212
 	margin: 0;