diff --git a/config.php b/config.php index 41b4885..8bac4f2 100644 --- a/config.php +++ b/config.php @@ -99,8 +99,9 @@ // CSS_FILE // // The CSS file to load to style the wiki, relative to BASE_URI - -define('CSS_FILE', 'index.css'); +// the time() stamp is added to the url of the css file to prevent the browser from caching the css file +// otherwise changes in the css file you made might not be immediatly applyed on the index.php of your wiki +define('CSS_FILE', 'index.css?version=' . time()); diff --git a/img/test.jpg b/img/test.jpg new file mode 100644 index 0000000..718f4d2 --- /dev/null +++ b/img/test.jpg @@ -0,0 +1 @@ +t diff --git a/index.css b/index.css index 4443f61..4850e31 100644 --- a/index.css +++ b/index.css @@ -9,46 +9,61 @@ * Written with Coda: * */ - + + * { font-family: Helvetica, sans-serif; - font-size: 13px; + font-size: 12px; margin: 0; padding: 0; } + + blockquote { background-color: #f0f8f0; - margin: 0px 0px 12px 20px; - padding-top: 4px 10px 4px 10px; + margin: 0px 12px; + padding: 4px 10px; } + + form { display: inline; } + + li { line-height: 1.5em; } + + h1 { font-size: 20px; font-weight: bold; margin-bottom: 8px; } + + h2 { font-size: 16px; font-weight: bold; margin-bottom: 8px; } + + h3 { font-size: 13px; font-weight: bold; margin-bottom: 8px; } + + hr { border-top: 1px solid #cccccc; border-bottom: 0; @@ -58,6 +73,8 @@ hr { margin-bottom: 12px; } + + ul { padding-left: 12px; margin-left: 12px; @@ -65,6 +82,8 @@ ul { list-style-position: inside; } + + ol { margin-left: 12px; margin-bottom: 12px; @@ -72,10 +91,14 @@ ol { list-style-position: inside; } + + p { margin: 12px 12px 12px 12px; } + + pre { font-family: Menlo, Courier, monospace; font-size: 11px; @@ -90,19 +113,35 @@ pre { word-wrap: break-word; /* Internet Explorer 5.5+ */ } + + code { font-family: Menlo, Courier, monospace; font-size: 11px; } -table { - border-collapse: collapse; + +/* -------------------------------------------- +table, th, td { + border: 1px solid black; +} + + + + +th, td { + background-color: #96D4D4; } +----------------------------------------------- +*/ + table, td { padding: 2px; } + + textarea { font-family: Menlo, Courier, monospace; font-size: 11px; @@ -110,10 +149,14 @@ textarea { background-color: #ffffee; } + + .main { padding: 8px; } + + .note { background-color: #ffffcc; padding: 4px; @@ -122,6 +165,8 @@ textarea { border: solid 1px #666644; } + + .titlebar { background-color: #222222; background: -webkit-gradient(linear, left top, left bottom, from(#555555), to(#000000)); @@ -131,11 +176,15 @@ textarea { padding: 4px 4px 4px 12px; } + + .titledate { font-size: 10px; color: #999999; } + + .toolbar { background-color: #777777; background: -webkit-gradient(linear, left top, left bottom, from(#666666), to(#444444)); @@ -143,17 +192,23 @@ textarea { padding: 4px 4px 4px 12px; } + + a.tool { font-size: 11px; margin-right: 8px; color: #eeeeee; } + + input.tool { font-size: 11px; color: #000000; } + + img { max-width: 100%; height: auto;