changed colors to code variables

master
BodgeMaster 2020-03-13 23:13:22 +01:00
parent 592dd5428b
commit 3c338ce26c
2 changed files with 58 additions and 57 deletions

View File

@ -8,43 +8,43 @@
}
.beige {
color: #fef6e4;
color: %COLOR_BEIGE%;
}
.orange {
color: #f3d2c1;
color: %COLOR_ORANGE%;
}
.blue {
color: #001858;
color: %COLOR_BLUE%;
}
.pink {
color: #f582ae;
color: %COLOR_PINK%;
}
.cyan {
color: #8bd3dd;
color: %COLOR_CYAN%;
}
.beige-b {
background-color: #fef6e4;
background-color: %COLOR_BEIGE%;
}
.orange-b {
background-color: #f3d2c1;
background-color: %COLOR_ORANGE%;
}
.blue-b {
background-color: #001858;
background-color: %COLOR_BLUE%;
}
.pink-b {
background-color: #f582ae;
background-color: %COLOR_PINK%;
}
.cyan-b {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}
div {
@ -88,34 +88,34 @@ div.banner {
left: 0;
bottom: 0;
width: 100%;
background-color: #001858;
background-color: %COLOR_BLUE%;
}
body {
margin: 0px;
background-color: #fef6e4;
color: #001858;
background-color: %COLOR_BEIGE%;
color: %COLOR_BLUE%;
font-size: 1em;
}
p {
font-family: monospace;
color: #001858;
color: %COLOR_BLUE%;
}
a {
font-family: monospace;
color: #001858;
color: %COLOR_BLUE%;
}
i {
font-family: monospace;
color: #001858;
color: %COLOR_BLUE%;
}
li {
font-family: monospace;
color: #001858;
color: %COLOR_BLUE%;
}
input {
@ -124,34 +124,34 @@ input {
border-radius: 4px;
padding: 14px 20px;
margin: 8px 0;
background-color: #fef6e4;
background-color: %COLOR_BEIGE%;
}
input[type=text], select {
color: #001858;
color: %COLOR_BLUE%;
display: inline-block;
border: 1px solid #001858;
border: 1px solid %COLOR_BLUE%;
box-sizing: border-box;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
}
input[type=password], select {
color: #001858;
color: %COLOR_BLUE%;
display: inline-block;
border: 1px solid #001858;
border: 1px solid %COLOR_BLUE%;
box-sizing: border-box;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
}
input[type=submit] {
background-color: #001858;
color: #fef6e4;
background-color: %COLOR_BLUE%;
color: %COLOR_BEIGE%;
border: none;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}
textarea {
@ -160,17 +160,17 @@ textarea {
border-radius: 4px;
padding: 14px 20px;
margin: 8px 0;
background-color: #fef6e4;
color: #001858;
background-color: %COLOR_BEIGE%;
color: %COLOR_BLUE%;
display: inline-block;
border: 1px solid #001858;
border: 1px solid %COLOR_BLUE%;
box-sizing: border-box;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
}
button {
font-family: monospace;
background-color: #001858;
background-color: %COLOR_BLUE%;
color: white;
padding: 14px 20px;
margin: 8px 0;
@ -181,17 +181,17 @@ button {
}
button:hover {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}
h1, h2, h3, h4, h5, h6 {
font-family: monospace;
color: #001858;
color: %COLOR_BLUE%;
}
time {
font-family: monospace;
color: #fef6e4;
color: %COLOR_BEIGE%;
float: right;
}
@ -200,7 +200,7 @@ div.right {
}
div.round-border {
border: 1px solid #001858;
border: 1px solid %COLOR_BLUE%;
padding: 14px 20px;
margin: 8px 0;
border-radius: 5px;
@ -215,7 +215,7 @@ img.available_space {
}
div.image_container {
border: 1px solid #001858;
border: 1px solid %COLOR_BLUE%;
padding: 0.5em 0.5em;
background-color: #f0f0f0;
border-radius: 5px;
@ -234,12 +234,12 @@ ul.topnav {
top: 0;
width: 100%;
overflow: hidden;
background-color: #001858;
background-color: %COLOR_BLUE%;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
/*.topnav a:hover, .dropdown:hover .dropbtn {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}*/
ul.topnav li {float: left;}
@ -247,7 +247,7 @@ ul.topnav li {float: left;}
ul.topnav li a {
display: block;
text-align: center;
color: #fef6e4;
color: %COLOR_BEIGE%;
font-family: monospace;
font-size: 1em;
padding: 14px 16px;
@ -255,11 +255,11 @@ ul.topnav li a {
}
ul.topnav li a:hover:not(.active) {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}
ul.topnav li a.active {
background-color: #f582ae;
background-color: %COLOR_PINK%;
}
ul.topnav li.right {
@ -278,7 +278,7 @@ ul.topnav img {
ul.topnav li a.icon {
display: block;
text-align: center;
color: #fef6e4;
color: %COLOR_BEIGE%;
font-family: monospace;
font-size: 1em;
text-decoration: none;
@ -290,7 +290,7 @@ ul.list {
margin: 0;
padding: 0;
overflow: hidden;
background-color: #001858;
background-color: %COLOR_BLUE%;
}
ul.list li {
@ -300,7 +300,7 @@ ul.list li {
ul.list li a {
display: block;
text-align: center;
color: #fef6e4;
color: %COLOR_BEIGE%;
font-family: monospace;
font-size: 1em;
padding: 14px 16px;
@ -308,17 +308,17 @@ ul.list li a {
}
ul.list li a:hover:not(.active) {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}
ul.list li a.active {
background-color: #f582ae;
background-color: %COLOR_PINK%;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #001858;
background-color: %COLOR_BLUE%;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
@ -326,7 +326,7 @@ ul.list li a.active {
.dropdown-content a {
float: none;
color: #fef6e4;
color: %COLOR_BEIGE%;
padding: 12px 16px;
text-decoration: none;
display: block;
@ -334,7 +334,7 @@ ul.list li a.active {
}
.dropdown-content a:hover {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}
.dropdown:hover .dropdown-content {
@ -350,7 +350,7 @@ ul.list li a.active {
font-size: 1em;
border: none;
outline: none;
color: #fef6e4;
color: %COLOR_BEIGE%;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
@ -358,7 +358,7 @@ ul.list li a.active {
}
div.dropdown {
color: #fef6e4;
color: %COLOR_BEIGE%;
text-align: center;
font-family: monospace;
font-size: 1em;
@ -366,7 +366,7 @@ div.dropdown {
}
.dropdown:hover:not(.active) {
background-color: #8bd3dd;
background-color: %COLOR_CYAN%;
}
section {
@ -375,16 +375,16 @@ section {
margin-left: 16px;
margin-right: 16px;
border-radius: 5px;
border: 1px solid #001858;
background-color: #f3d2c1;
border: 1px solid %COLOR_BLUE%;
background-color: %COLOR_ORANGE%;
padding: 14px 20px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
article {
border-radius: 5px;
border: 1px solid #001858;
background-color: #fef6e4;
border: 1px solid %COLOR_BLUE%;
background-color: %COLOR_BEIGE%;
padding: 14px 20px;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
overflow: hidden;
@ -393,8 +393,8 @@ article {
header {
border-radius: 0px;
border: none;
background-color: #001858;
color: #fef6e4;
background-color: %COLOR_BLUE%;
color: %COLOR_BEIGE%;
margin: -40px;
padding: 40px 40px 10px 40px;
box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);

View File

@ -3,5 +3,6 @@
"NO_CHEAP_SESSION_STEALING":"if (isset($_SESSION['user_id'])) {if ($_SESSION['user_ip']!=$_SERVER['REMOTE_ADDR'] || $_SESSION['user_http_user_agent']!=$_SERVER['HTTP_USER_AGENT']){ $_SESSION = array(); if (ini_get(\"session.use_cookies\")){ $params = session_get_cookie_params(); setcookie(session_name(), '', time() - 42000, $params[\"path\"], $params[\"domain\"], $params[\"secure\"], $params[\"httponly\"]); } session_destroy(); header(\"Location: https://lostcave.ddnss.de/common/threadr/login/?error=session\"); die();}}",
"SET_LOGIN_VARIABLE":"if (isset($_SESSION['user_id'])) { $login = true; } else { $login = false; }",
"PLEAZE_NO_CACHE":"header('Cache-Control: no-cache, no-store, must-revalidate');header('Pragma: no-cache');header('Expires: 0');",
"FORCE_LOGOUT":"$_SESSION = array(); if (ini_get('session.use_cookies')) { $params = session_get_cookie_params(); setcookie(session_name(), '', time() - 42000, $params['path'], $params['domain'], $params['secure'], $params['httponly']);} session_destroy();"
"FORCE_LOGOUT":"$_SESSION = array(); if (ini_get('session.use_cookies')) { $params = session_get_cookie_params(); setcookie(session_name(), '', time() - 42000, $params['path'], $params['domain'], $params['secure'], $params['httponly']);} session_destroy();",
"COLOR_BEIGE":"#fef6e4", "COLOR_ORANGE":"#f3d2c1", "COLOR_BLUE":"#001858", "COLOR_PINK":"#f582ae", "COLOR_CYAN":"#8bd3dd"
}