deal with caching of css

This commit is contained in:
Neale Pickett 2012-01-18 09:47:33 -06:00
parent e0671eefae
commit a6271987b4
4 changed files with 91 additions and 8 deletions

83
style-black.css Normal file
View File

@ -0,0 +1,83 @@
html {
font-family: sans-serif;
background: black;
}
body {
max-width: 700px;
margin: auto;
color: #636;
background: black;
padding: 1em;
}
body h1:first-child {
font-size: 1.5em;
font-weight: bold;
color: #ccc;
margin: 0;
}
body h1:first-child:before {
font-size: 300%;
font-weight: normal;
content: "Woozle";
padding-right: 1em;
}
nav {
font-size: 80%;
margin: 0;
padding: 0;
}
nav ul {
background-color: #222;
margin: 0;
padding: 0 1em;
}
nav li {
font-weight: bold;
display: inline;
padding: 0 1em;
}
a {
text-decoration: none;
color: #e8b;
}
a:hover {
text-decoration: underline;
}
h1 {
font-size: 150%;
border-bottom: 1px solid #ddd;
}
.login {
margin: 0 1em;
color: #e8b;
background: #333;
border: 1px solid #eee;
text-align: center;
}
.login input {
border: 1px solid #ddd;
color: #bbb;
background: #111;
font-weight: bold;
}
a img
{
border: 1px #e8b solid;
}
img.left {
float: left;
margin-right: 10px;
}
pre {
background-color: #444;
}

View File

@ -1,13 +1,13 @@
html { html {
font-family: sans-serif; font-family: sans-serif;
background: black; background: #eee;
} }
body { body {
max-width: 700px; max-width: 700px;
margin: auto; margin: auto;
color: #636; color: #636;
background: black; background: #fff;
padding: 1em; padding: 1em;
} }
@ -30,7 +30,7 @@ nav {
padding: 0; padding: 0;
} }
nav ul { nav ul {
background-color: #222; background-color: #eee;
margin: 0; margin: 0;
padding: 0 1em; padding: 0 1em;
} }
@ -57,7 +57,7 @@ h1 {
.login { .login {
margin: 0 1em; margin: 0 1em;
color: #e8b; color: #e8b;
background: #333; background: #fbfbfb;
border: 1px solid #eee; border: 1px solid #eee;
text-align: center; text-align: center;
} }
@ -65,7 +65,7 @@ h1 {
.login input { .login input {
border: 1px solid #ddd; border: 1px solid #ddd;
color: #bbb; color: #bbb;
background: #111; background: #fff;
font-weight: bold; font-weight: bold;
} }
@ -79,5 +79,5 @@ img.left {
} }
pre { pre {
background-color: #444; background-color: #eee;
} }

View File

@ -3,7 +3,7 @@
<head> <head>
<title>TITLE</title> <title>TITLE</title>
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="/style.css" type="text/css" /> <link rel="stylesheet" href="/style-black.css" type="text/css" />
<link rel="icon" type="image/png" href="/icon.png" /> <link rel="icon" type="image/png" href="/icon.png" />
</head> </head>
<body> <body>

View File

@ -1,5 +1,5 @@
PLAIN += . PLAIN += .
COPY += icon.png style.css lists.cgi wishlist.cgi set.cgi $(TEMPLATE) COPY += icon.png style.css style-black.css lists.cgi wishlist.cgi set.cgi $(TEMPLATE)
HTML += people.html HTML += people.html
$(DESTDIR)/people.html: people.sh $(DESTDIR)/people.html: people.sh