Mercurial > hg > batmud > gmap2
changeset 218:373db5c1fe6f gmap2
Add separate CSS stylesheet file for common color defs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 12 Mar 2014 20:28:51 +0200 |
parents | 7a90c25dfe2e |
children | 1e1f3c9967d4 |
files | css/colors.css css/mapstyle1.css css/mapstyle2.css css/mapstyle3.css css/mapstyle4.css index.php |
diffstat | 6 files changed, 11 insertions(+), 44 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/colors.css Wed Mar 12 20:28:51 2014 +0200 @@ -0,0 +1,10 @@ +.c_laenor div { background: #955; } +.c_rothikgen div { background: #595; } +.c_lucentium div { background: #559; } +.c_desolathya div { background: #599; } +.c_furnachia div { background: #959; } +.c_renardy div { background: #c70; } +.c_tormentas div { background: #7a0; } +.c_hcbat div { background: #444; } +.c_special div { background: #a06; } +.c_all div { background: #0af; }
--- a/css/mapstyle1.css Wed Mar 12 19:36:56 2014 +0200 +++ b/css/mapstyle1.css Wed Mar 12 20:28:51 2014 +0200 @@ -272,14 +272,3 @@ border-radius: 0.5em; box-shadow: 2px 2px 2px rgba(0,0,0,0.7); } - -.c_laenor div { background: #955; } -.c_rothikgen div { background: #595; } -.c_lucentium div { background: #559; } -.c_desolathya div { background: #599; } -.c_furnachia div { background: #959; } -.c_renardy div { background: #c70; } -.c_tormentas div { background: #7a0; } -.c_hcbat div { background: #444; } -.c_special div { background: #a06; } -.c_all div { background: #0af; }
--- a/css/mapstyle2.css Wed Mar 12 19:36:56 2014 +0200 +++ b/css/mapstyle2.css Wed Mar 12 20:28:51 2014 +0200 @@ -275,14 +275,3 @@ border-radius: 0.5em; border: 1px solid black; } - -.c_laenor div { background: #955; } -.c_rothikgen div { background: #595; } -.c_lucentium div { background: #559; } -.c_desolathya div { background: #599; } -.c_furnachia div { background: #959; } -.c_renardy div { background: #c70; } -.c_tormentas div { background: #7a0; } -.c_hcbat div { background: #444; } -.c_special div { background: #a06; } -.c_all div { background: #0af; }
--- a/css/mapstyle3.css Wed Mar 12 19:36:56 2014 +0200 +++ b/css/mapstyle3.css Wed Mar 12 20:28:51 2014 +0200 @@ -274,14 +274,3 @@ border-radius: 0.5em; border: 1px solid black; } - -.c_laenor div { background: #955; } -.c_rothikgen div { background: #595; } -.c_lucentium div { background: #559; } -.c_desolathya div { background: #599; } -.c_furnachia div { background: #959; } -.c_renardy div { background: #c70; } -.c_tormentas div { background: #7a0; } -.c_hcbat div { background: #444; } -.c_special div { background: #a06; } -.c_all div { background: #0af; }
--- a/css/mapstyle4.css Wed Mar 12 19:36:56 2014 +0200 +++ b/css/mapstyle4.css Wed Mar 12 20:28:51 2014 +0200 @@ -195,14 +195,3 @@ height: auto; border: 1px solid black; } - -.c_laenor div { background: #955; } -.c_rothikgen div { background: #595; } -.c_lucentium div { background: #559; } -.c_desolathya div { background: #599; } -.c_furnachia div { background: #959; } -.c_renardy div { background: #c70; } -.c_tormentas div { background: #7a0; } -.c_hcbat div { background: #444; } -.c_special div { background: #a06; } -.c_all div { background: #0af; }
--- a/index.php Wed Mar 12 19:36:56 2014 +0200 +++ b/index.php Wed Mar 12 20:28:51 2014 +0200 @@ -28,6 +28,7 @@ (isset($gmapsKey) ? "&key=".$gmapsKey: ""). "&sensor=false\" type=\"text/javascript\"></script>\n". " <link rel=\"stylesheet\" href=\"".$pageCSS."\" type=\"text/css\" />\n". + " <link rel=\"stylesheet\" href=\"css/colors.css\" type=\"text/css\" />\n". " </head>\n"; ?> <body>