mirror of
https://github.com/anope/anope.git
synced 2026-07-04 03:43:13 +02:00
Make the navbar brand a different font to distinguish it from the rest of the navbar links.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
|
||||
<!--[if !IE]><!-->
|
||||
<html lang="en">
|
||||
<!--<![endif]-->
|
||||
<!--<![endif]-->
|
||||
<head>
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/static/style.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400);
|
||||
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400);
|
||||
@import url(//fonts.googleapis.com/css?family=Port+Lligat+Slab);
|
||||
|
||||
*, html, body, h1, h2, h3, h4, div, p, span, a, button {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
@@ -136,6 +137,12 @@ h4 {
|
||||
-moz-box-shadow: 0 8px 6px -8px black;
|
||||
box-shadow: 0 8px 6px -8px black;
|
||||
}
|
||||
.navbar-brand {
|
||||
font-size: 25px;
|
||||
}
|
||||
.navbar-brand, .navbar-brand small {
|
||||
font-family: 'Port Lligat Slab', serif;
|
||||
}
|
||||
|
||||
.navbar-default .nav {
|
||||
margin-bottom: -1px;
|
||||
|
||||
@@ -17,7 +17,7 @@ class ModuleWebCPanel : public Module
|
||||
Panel panel;
|
||||
PrimitiveExtensibleItem<Anope::string> id, ip;
|
||||
|
||||
StaticFileServer style_css, logo_png, favicon_ico;
|
||||
StaticFileServer style_css, logo_png, cubes_png, favicon_ico;
|
||||
|
||||
WebCPanel::Index index;
|
||||
WebCPanel::Logout logout;
|
||||
@@ -45,7 +45,7 @@ class ModuleWebCPanel : public Module
|
||||
public:
|
||||
ModuleWebCPanel(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR),
|
||||
panel(this, "webcpanel"), id(this, "webcpanel_id"), ip(this, "webcpanel_ip"),
|
||||
style_css("style.css", "/static/style.css", "text/css"), logo_png("logo.png", "/static/logo.png", "image/png"), favicon_ico("favicon.ico", "/favicon.ico", "image/x-icon"),
|
||||
style_css("style.css", "/static/style.css", "text/css"), logo_png("logo.png", "/static/logo.png", "image/png"), cubes_png("cubes.png", "/static/cubes.png", "image/png"), favicon_ico("favicon.ico", "/favicon.ico", "image/x-icon"),
|
||||
index("/"), logout("/logout"), _register("/register"), confirm("/confirm"),
|
||||
nickserv_info("NickServ", "/nickserv/info"), nickserv_cert("NickServ", "/nickserv/cert"), nickserv_access("NickServ", "/nickserv/access"), nickserv_alist("NickServ", "/nickserv/alist"),
|
||||
chanserv_info("ChanServ", "/chanserv/info"), chanserv_set("ChanServ", "/chanserv/set"), chanserv_access("ChanServ", "/chanserv/access"), chanserv_akick("ChanServ", "/chanserv/akick"),
|
||||
@@ -67,6 +67,7 @@ class ModuleWebCPanel : public Module
|
||||
|
||||
provider->RegisterPage(&this->style_css);
|
||||
provider->RegisterPage(&this->logo_png);
|
||||
provider->RegisterPage(&this->cubes_png);
|
||||
provider->RegisterPage(&this->favicon_ico);
|
||||
|
||||
provider->RegisterPage(&this->index);
|
||||
@@ -194,6 +195,7 @@ class ModuleWebCPanel : public Module
|
||||
{
|
||||
provider->UnregisterPage(&this->style_css);
|
||||
provider->UnregisterPage(&this->logo_png);
|
||||
provider->UnregisterPage(&this->cubes_png);
|
||||
provider->UnregisterPage(&this->favicon_ico);
|
||||
|
||||
provider->UnregisterPage(&this->index);
|
||||
|
||||
Reference in New Issue
Block a user