From b2c8b7821e7e4ff82c65f0ab360ae067dded9e94 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 6 Oct 2013 13:30:11 +0200 Subject: Rename /media directory to /resources This is just cosmetics. diff --git a/etc/nginx/site.conf b/etc/nginx/site.conf index 9105591..a4fd42d 100644 --- a/etc/nginx/site.conf +++ b/etc/nginx/site.conf @@ -28,7 +28,7 @@ server { root /home/plugins/web; fancyindex on; fancyindex_exact_size off; - fancyindex_css_href /media/plugins.css; + fancyindex_css_href /resources/plugins.css; } # @@ -57,7 +57,7 @@ server { # Redirects etc. # location = /favicon.ico { - root /home/plugins/web/site/media; + root /home/plugins/web/site/resources; } location ^~ /snapshot { return 301 /download$request_uri; diff --git a/web/input/media/favicon.ico b/web/input/media/favicon.ico deleted file mode 100644 index 76ae569..0000000 Binary files a/web/input/media/favicon.ico and /dev/null differ diff --git a/web/input/media/github.png b/web/input/media/github.png deleted file mode 100644 index 1e19c21..0000000 Binary files a/web/input/media/github.png and /dev/null differ diff --git a/web/input/media/plugins.css b/web/input/media/plugins.css deleted file mode 100644 index 552284f..0000000 --- a/web/input/media/plugins.css +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Nagios Plugins style sheet. - * - * Color scheme: - * - * - See . - * - Additionally, we use the CSS color "dimgray" (#696969) for stuff like the - * breadcrumb navigation and the footer. - */ - -@import url("https://fonts.googleapis.com/css?family=Bitter"); -@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro"); -@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro"); - -body { - max-width: 45em; - margin: 1em auto; - font-family: "Source Sans Pro", sans-serif; - color: #000; - text-rendering: optimizeLegibility; - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - -o-hyphens: auto; - hyphens: auto; -} - -h1, h2, h3, h4, h5, h6 { - font-family: "Bitter", serif; - color: #004e8f; -} - -code, kbd { - font-family: "Source Code Pro", monospace; - white-space: pre; -} - -pre { - font-family: "Source Code Pro", monospace; - font-size: small; -} - -div#breadcrumb { - padding: 1em 1em 0.2em; -} - -div#content { - padding: 0.2em 1em 1em; -} - -div#footer { - padding: 1em; -} - -div#menu { - padding: 0.6em 0 0.6em 0; - background-color: #1b476b; - font-weight: bold; -} - -div#menu span { - padding: 0.6em; -} - -div#menu span#current { - color: #fff; - background-color: #5a95c7; -} - -div#menu a { - color: #fff; - text-decoration: none; - -webkit-transition-property: color; - -moz-transition-property: color; - -ms-transition-property: color; - -o-transition-property: color; - transition-property: color; - -webkit-transition-duration: 0.3s; - -moz-transition-duration: 0.3s; - -ms-transition-duration: 0.3s; - -o-transition-duration: 0.3s; - transition-duration: 0.3s; -} - -div#menu a:hover { - color: #eeb76b; -} - -table /* Nginx Fancy Index. */ { - font-family: "Source Code Pro", monospace; - font-size: small; -} - -div#content a, -table a { - color: #3283c7; - text-decoration: none; - border-bottom: 1px dotted #3283c7; -} - -div#content a:hover, -table a:hover { - color: #3283c7; /* Overwrite Fancy Index CSS. */ - border-bottom: 1px solid #3283c7; -} - -div#breadcrumb { - color: #696969; - font-size: small; -} - -div#breadcrumb span#release { - float: right; - font-weight: bold; -} - -div#footer { - color: #696969; - text-align: center; - font-size: small; - line-height: 150%; -} - -div#breadcrumb a, -div#footer a { - color: #696969; - text-decoration: none; - border-bottom: 1px dotted #696969; -} - -div#breadcrumb a:hover, -div#footer a:hover { - border-bottom: 1px solid #696969; -} diff --git a/web/input/resources/favicon.ico b/web/input/resources/favicon.ico new file mode 100644 index 0000000..76ae569 Binary files /dev/null and b/web/input/resources/favicon.ico differ diff --git a/web/input/resources/github.png b/web/input/resources/github.png new file mode 100644 index 0000000..1e19c21 Binary files /dev/null and b/web/input/resources/github.png differ diff --git a/web/input/resources/plugins.css b/web/input/resources/plugins.css new file mode 100644 index 0000000..552284f --- /dev/null +++ b/web/input/resources/plugins.css @@ -0,0 +1,134 @@ +/* + * Nagios Plugins style sheet. + * + * Color scheme: + * + * - See . + * - Additionally, we use the CSS color "dimgray" (#696969) for stuff like the + * breadcrumb navigation and the footer. + */ + +@import url("https://fonts.googleapis.com/css?family=Bitter"); +@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro"); +@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro"); + +body { + max-width: 45em; + margin: 1em auto; + font-family: "Source Sans Pro", sans-serif; + color: #000; + text-rendering: optimizeLegibility; + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + -o-hyphens: auto; + hyphens: auto; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Bitter", serif; + color: #004e8f; +} + +code, kbd { + font-family: "Source Code Pro", monospace; + white-space: pre; +} + +pre { + font-family: "Source Code Pro", monospace; + font-size: small; +} + +div#breadcrumb { + padding: 1em 1em 0.2em; +} + +div#content { + padding: 0.2em 1em 1em; +} + +div#footer { + padding: 1em; +} + +div#menu { + padding: 0.6em 0 0.6em 0; + background-color: #1b476b; + font-weight: bold; +} + +div#menu span { + padding: 0.6em; +} + +div#menu span#current { + color: #fff; + background-color: #5a95c7; +} + +div#menu a { + color: #fff; + text-decoration: none; + -webkit-transition-property: color; + -moz-transition-property: color; + -ms-transition-property: color; + -o-transition-property: color; + transition-property: color; + -webkit-transition-duration: 0.3s; + -moz-transition-duration: 0.3s; + -ms-transition-duration: 0.3s; + -o-transition-duration: 0.3s; + transition-duration: 0.3s; +} + +div#menu a:hover { + color: #eeb76b; +} + +table /* Nginx Fancy Index. */ { + font-family: "Source Code Pro", monospace; + font-size: small; +} + +div#content a, +table a { + color: #3283c7; + text-decoration: none; + border-bottom: 1px dotted #3283c7; +} + +div#content a:hover, +table a:hover { + color: #3283c7; /* Overwrite Fancy Index CSS. */ + border-bottom: 1px solid #3283c7; +} + +div#breadcrumb { + color: #696969; + font-size: small; +} + +div#breadcrumb span#release { + float: right; + font-weight: bold; +} + +div#footer { + color: #696969; + text-align: center; + font-size: small; + line-height: 150%; +} + +div#breadcrumb a, +div#footer a { + color: #696969; + text-decoration: none; + border-bottom: 1px dotted #696969; +} + +div#breadcrumb a:hover, +div#footer a:hover { + border-bottom: 1px solid #696969; +} diff --git a/web/page.html b/web/page.html index eae4549..5aeb5b9 100644 --- a/web/page.html +++ b/web/page.html @@ -9,8 +9,8 @@ - - + +