Use better coloring [2/2]
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/yukari/trunk@144 f3bd38d9-da89-464d-a02a-eb04e43141b5
This commit is contained in:
parent
9d49ddacad
commit
8d781be30a
10
yukari.go
10
yukari.go
@ -105,7 +105,6 @@ var UNSAFE_ELEMENTS [][]byte = [][]byte{
|
||||
[]byte("applet"),
|
||||
[]byte("canvas"),
|
||||
[]byte("embed"),
|
||||
//[]byte("iframe"),
|
||||
[]byte("math"),
|
||||
[]byte("script"),
|
||||
[]byte("svg"),
|
||||
@ -175,7 +174,6 @@ var LINK_HTTP_EQUIV_SAFE_VALUES [][]byte = [][]byte{
|
||||
[]byte("date"),
|
||||
[]byte("last-modified"),
|
||||
[]byte("refresh"), // URL rewrite
|
||||
// []byte("location"), TODO URL rewrite
|
||||
[]byte("content-language"),
|
||||
}
|
||||
|
||||
@ -224,11 +222,11 @@ var YUKARI_HTML_PAGE_START string = `<!doctype html>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
|
||||
<style>
|
||||
html { height: 100%; }
|
||||
body { min-height : 100%; display: flex; flex-direction:column; font-family: 'Garamond', 'Georgia', serif; text-align: center; color: #BC4BFC; background: #FAFAFA; margin: 0;
|
||||
body { min-height : 100%; display: flex; flex-direction:column; font-family: 'Garamond', 'Georgia', serif; text-align: center; color: #BC4BFC; background: #240039; margin: 0;
|
||||
padding: 0; font-size: 1.1em; }
|
||||
input { border: 1px solid #888; padding: 0.3em; color: #BC4BFC; background: #FFF; font-size: 1.1em; }
|
||||
input { border: 1px solid #888; padding: 0.3em; color: #BC4BFC; background: #202020; font-size: 1.1em; }
|
||||
input[placeholder] { width:80%; }
|
||||
a { text-decoration: none; #2980b9; }
|
||||
a { text-decoration: none; #9529B9; }
|
||||
h1, h2 { font-weight: 200; margin-bottom: 2rem; }
|
||||
h1 { font-size: 3em; }
|
||||
.container { flex:1; min-height: 100%; margin-bottom: 1em; }
|
||||
@ -275,7 +273,7 @@ func init() {
|
||||
</div>
|
||||
<style>
|
||||
body{ position: absolute !important; top: 42px !important; left: 0 !important; right: 0 !important; bottom: 0 !important; }
|
||||
#yukariheader { position: fixed; margin: 0; box-sizing: border-box; -webkit-box-sizing: border-box; top: 0; left: 0; right: 0; z-index: 2147483647 !important; font-size: 12px; line-height: normal; border-width: 0px 0px 2px 0; border-style: solid; border-color: #AAAAAA; background: #FFF; padding: 4px; color: #444; height: 42px; }
|
||||
#yukariheader { position: fixed; margin: 0; box-sizing: border-box; -webkit-box-sizing: border-box; top: 0; left: 0; right: 0; z-index: 2147483647 !important; font-size: 12px; line-height: normal; border-width: 0px 0px 2px 0; border-style: solid; border-color: #9826FF; background: #33004A; padding: 4px; color: #D881FF; height: 42px; }
|
||||
#yukariheader * { padding: 0; margin: 0; }
|
||||
#yukariheader p { padding: 0 0 0.7em 0; display: block; }
|
||||
#yukariheader a { color: #8934DB; font-weight: bold; display: inline; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user