This commit is contained in:
flash 2016-07-31 23:58:36 +02:00
parent 97593040e0
commit bdba845c46
4 changed files with 16 additions and 12 deletions

View file

@ -188,7 +188,9 @@ class Router
try {
return self::$dispatcher->dispatch($method, $url);
} catch (HttpMethodNotAllowedException $e) {
http_response_code(403);
} catch (HttpRouteNotFoundException $e) {
http_response_code(404);
}
// Default to the not found page

View file

@ -523,7 +523,8 @@ class BaseTables extends Migration
->default(0);
$table->date('user_birthday')
->default('0000-00-00');
->nullable()
->default(null);
$table->char('user_country', 2)
->default('XX');

View file

@ -136,7 +136,7 @@ h3,
h4,
h5,
h6 {
font-family: "Segoe UI", sans-serif;
font-family: "Open Sans", sans-serif;
font-weight: 100;
margin: 5px 0;
}
@ -323,7 +323,7 @@ a.default:active {
min-width: 200px;
border: 2px solid #9475B2;
float: left;
font-family: "Segoe UI", sans-serif;
font-family: "Open Sans", sans-serif;
text-align: left;
margin: 0 2px;
transition: background .5s;
@ -432,7 +432,7 @@ a.default:active {
}
#headerLoginForm label {
font-family: "Segoe UI", sans-serif;
font-family: "Open Sans", sans-serif;
font-weight: 100;
font-size: 15px;
}
@ -457,7 +457,7 @@ a.default:active {
}
.panelQuickLinks > li > a > .count {
font: 100 1em "Segoe UI", sans-serif;
font: 100 1em "Open Sans", sans-serif;
margin-left: 6px;
}
@ -495,7 +495,7 @@ a.default:active {
width: auto;
display: inline-block;
text-decoration: none;
font: 100 70px/80px "Segoe UI", sans-serif;
font: 100 70px/80px "Open Sans", sans-serif;
color: #B06AC4;
transition: color .2s, text-shadow .2s;
}
@ -513,7 +513,7 @@ a.default:active {
@media (max-width: 768px) {
.header .logo {
font: 100 50px/60px "Segoe UI", sans-serif;
font: 100 50px/60px "Open Sans", sans-serif;
}
}
@ -931,7 +931,7 @@ a.default:active {
bottom: 5px;
right: 5px;
z-index: 3;
font-family: "Segoe UI", sans-serif;
font-family: "Open Sans", sans-serif;
overflow-y: auto;
overflow-x: hidden;
max-height: 100%;
@ -1679,7 +1679,7 @@ a.default:active {
}
.settings .notification-history > a > .notif-hist-content > .notif-hist-inside > .notif-hist-title {
font-family: "Segoe UI", sans-serif;
font-family: "Open Sans", sans-serif;
font-weight: 300;
font-size: 1.7em;
margin-top: 1em;
@ -2185,7 +2185,7 @@ textarea.inputStyling {
}
.forum.viewtopic .posts .userpanel .username {
font: 1.5em/1.7em "Segoe UI", sans-serif;
font: 1.5em/1.7em "Open Sans", sans-serif;
text-shadow: 0 0 7px #888; padding: 0 0 2px;
display: inline-block;
}
@ -2271,7 +2271,7 @@ textarea.inputStyling {
}
.posting-bbcode-description {
font: .9em/1.2em "Segoe UI", sans-serif;
font: .9em/1.2em "Open Sans", sans-serif;
padding: 2px 0 3px;
}
@ -2423,7 +2423,7 @@ button.forumbtn {
min-width: 300px;
flex-grow: 2;
padding: 5px;
font: 12px/20px "Segoe UI", sans-serif;
font: 12px/20px "Open Sans", sans-serif;
background: #F6F6F6;
}

View file

@ -10,6 +10,7 @@
{% endif %}
{{ block('meta') }}
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/css/libraries.css">
<link rel="stylesheet" type="text/css" href="/css/yuuno.css">