diff --git a/config/config.template.php b/config/config.template.php index 7a795f1..e432cc1 100644 --- a/config/config.template.php +++ b/config/config.template.php @@ -21,6 +21,7 @@ $config["general"]["subtitle"] = " - Best TeamSpeak server!"; $config["general"]["desc"] = "Polski serwer TeamSpeak! Zapraszamy :)"; // Website description - displayed in Google search engine $config["general"]["newsDir"] = "config/news"; // News folder (relative to project folder) $config["general"]["timezone"] = "Europe/Warsaw"; // Your timezone - http://php.net/manual/en/timezones.php +$config["general"]["christmasmode"] = true; // Set to false to permanently disable christmas mode activated in December $config["general"]["enablehta"] = false; // Enable / Disable additional website features (recommended, but // you need to have up-to-date version of Apache and install mod_rewrite) diff --git a/css/christmas-theme.css b/css/christmas-theme.css new file mode 100644 index 0000000..463630c --- /dev/null +++ b/css/christmas-theme.css @@ -0,0 +1,148 @@ +/*! + * Christmas theme for ts-website + * https://github.com/Wruczek/ts-website + * (c) Wruczek 2016 + * The MIT License +*/ + +body { + background-image: url(../img/christmas-bg.jpg); +} + +.panel { + background-color: #410b13; +} + +.table-hover > tbody > tr:hover { + background-color: #b41320 +} + +.table > thead > tr > td.active, +.table > tbody > tr > td.active, +.table > tfoot > tr > td.active, +.table > thead > tr > th.active, +.table > tbody > tr > th.active, +.table > tfoot > tr > th.active, +.table > thead > tr.active > td, +.table > tbody > tr.active > td, +.table > tfoot > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr.active > th, +.table > tfoot > tr.active > th { + background-color: #a51321 +} + +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + background-color: #a51321 +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + background-color: #a51321 +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + background-color: #a51321 + } + + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + background-color: #a51321 + } +} + +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + background-color: #a51321; +} + +.pager li > a:hover, +.pager li > a:focus { + background-color: #a51321 +} + +a.list-group-item:hover, +button.list-group-item:hover, +a.list-group-item:focus, +button.list-group-item:focus { + background-color: #a51321 +} + +.panel-footer { + background-color: #a51321; +} + +.popover-title { + background-color: #a51321; +} + +.btn-default:hover { + background-color: #a51321 +} + +.panel-default > .panel-heading { + background-color: #a51321; +} + +.modal-header, +.modal-footer { + background-color: #a51321 +} + +.table-bordered { + border-color: #871522; +} + +.table > thead > tr > th { + background-color: #871522; + border-color: #871522; +} + +.table-striped > tbody > tr:nth-of-type(odd) { + background-color: #871522; +} + +.navbar-default { + background-color: #b91524 !important; +} + +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + background-color: #9b131f +} + +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + background-color: #9b131f +} + +.dropdown-menu { + background-color: #410b13; +} + +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + background-color: #9b131f; +} + +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + background-color: #9b131f + } + + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + background-color: #9b131f + } +} diff --git a/css/theme.css b/css/theme.css index c63cd7e..0a19f0e 100644 --- a/css/theme.css +++ b/css/theme.css @@ -5,7 +5,9 @@ */ body { - background: url(../img/bg.png) no-repeat center center fixed; + background: no-repeat fixed center; + background-image: url(../img/bg.png); + -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; diff --git a/img/christmas-bg.jpg b/img/christmas-bg.jpg new file mode 100644 index 0000000..a444d50 Binary files /dev/null and b/img/christmas-bg.jpg differ diff --git a/include/footer.php b/include/footer.php index e04910a..262007f 100644 --- a/include/footer.php +++ b/include/footer.php @@ -12,12 +12,12 @@
- ts-website v 1.3.4 — © Wruczek 2016 + ts-website v 1.3.5 — © Wruczek 2016