Skip to content

Commit 62ac326

Browse files
committed
experimenting with navbar logo, but we're still a long way from a finished theme
1 parent ae733cf commit 62ac326

File tree

8 files changed

+41
-21
lines changed

8 files changed

+41
-21
lines changed

about.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
<span class="icon-bar"></span>
4141
<span class="icon-bar"></span>
4242
</button>
43-
<a href="index.html" class="navbar-brand">LESS</a>
43+
<a href="index.html" class="navbar-brand">
44+
<img src="assets/img/logo.png" alt="LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the server-side (with Node.js and Rhino) or client-side (modern browsers only).
45+
">
46+
</a>
4447
</div>
4548
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
4649
<ul class="nav navbar-nav">

assets/css/docs.css

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3540,7 +3540,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
35403540
.navbar {
35413541
position: relative;
35423542
z-index: 1000;
3543-
min-height: 70px;
3543+
min-height: 60px;
35443544
margin-bottom: 20px;
35453545
border: 1px solid transparent;
35463546
}
@@ -3694,7 +3694,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
36943694
}
36953695
.navbar-brand {
36963696
float: left;
3697-
padding: 25px 15px;
3697+
padding: 20px 15px;
36983698
font-size: 18px;
36993699
line-height: 20px;
37003700
}
@@ -3712,8 +3712,8 @@ textarea.input-group-sm > .input-group-btn > .btn {
37123712
float: right;
37133713
margin-right: 15px;
37143714
padding: 9px 10px;
3715-
margin-top: 18px;
3716-
margin-bottom: 18px;
3715+
margin-top: 13px;
3716+
margin-bottom: 13px;
37173717
background-color: transparent;
37183718
border: 1px solid transparent;
37193719
border-radius: 4px;
@@ -3733,7 +3733,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
37333733
}
37343734
}
37353735
.navbar-nav {
3736-
margin: 12.5px -15px;
3736+
margin: 10px -15px;
37373737
}
37383738
.navbar-nav > li > a {
37393739
padding-top: 10px;
@@ -3771,8 +3771,8 @@ textarea.input-group-sm > .input-group-btn > .btn {
37713771
float: left;
37723772
}
37733773
.navbar-nav > li > a {
3774-
padding-top: 25px;
3775-
padding-bottom: 25px;
3774+
padding-top: 20px;
3775+
padding-bottom: 20px;
37763776
}
37773777
}
37783778
@media (min-width: 768px) {
@@ -3791,8 +3791,8 @@ textarea.input-group-sm > .input-group-btn > .btn {
37913791
border-bottom: 1px solid transparent;
37923792
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
37933793
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
3794-
margin-top: 18px;
3795-
margin-bottom: 18px;
3794+
margin-top: 13px;
3795+
margin-bottom: 13px;
37963796
}
37973797
@media (min-width: 768px) {
37983798
.navbar-form .form-group {
@@ -3848,13 +3848,13 @@ textarea.input-group-sm > .input-group-btn > .btn {
38483848
right: 0;
38493849
}
38503850
.navbar-btn {
3851-
margin-top: 18px;
3852-
margin-bottom: 18px;
3851+
margin-top: 13px;
3852+
margin-bottom: 13px;
38533853
}
38543854
.navbar-text {
38553855
float: left;
3856-
margin-top: 25px;
3857-
margin-bottom: 25px;
3856+
margin-top: 20px;
3857+
margin-bottom: 20px;
38583858
}
38593859
@media (min-width: 768px) {
38603860
.navbar-text {
@@ -6846,14 +6846,14 @@ h1[id] {
68466846
/* All levels of nav */
68476847
.sidebar .nav > li > a {
68486848
display: block;
6849-
color: #716b7a;
6849+
color: #428bca;
68506850
padding: 5px 20px;
68516851
}
68526852
.sidebar .nav > li > a:hover,
68536853
.sidebar .nav > li > a:focus {
68546854
text-decoration: none;
68556855
background-color: #e5e3e9;
6856-
border-right: 1px solid #dbd8e0;
6856+
border-right: 1px solid #428bca;
68576857
}
68586858
.sidebar .nav > .active > a,
68596859
.sidebar .nav > .active:hover > a,
@@ -6908,7 +6908,7 @@ h1[id] {
69086908
}
69096909
}
69106910
body {
6911-
padding-top: 70px;
6911+
padding-top: 60px;
69126912
}
69136913
/**
69146914
* Neutralize background color to allow our
@@ -6917,6 +6917,15 @@ body {
69176917
pre code {
69186918
background: transparent;
69196919
}
6920+
/**
6921+
* Navbar Logo
6922+
*/
6923+
.navbar-brand {
6924+
padding: 15px 15px 10px;
6925+
}
6926+
.navbar-brand img {
6927+
max-width: 85px;
6928+
}
69206929
/**
69216930
* Page headers
69226931
* Jumbotron-esque headers at the top of every
@@ -6966,7 +6975,6 @@ pre code {
69666975
* Turn the `.navbar` at the top of the docs dark blue.
69676976
*/
69686977
.docs-nav {
6969-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
69706978
background-color: #1d365d;
69716979
border-color: #111f36;
69726980
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);

assets/img/log/logo-med.png

-13.5 KB
Binary file not shown.

assets/img/log/logo-mini.png

-2.4 KB
Binary file not shown.

assets/img/log/logo-small.png

-4.66 KB
Binary file not shown.

features.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
<span class="icon-bar"></span>
4141
<span class="icon-bar"></span>
4242
</button>
43-
<a href="index.html" class="navbar-brand">LESS</a>
43+
<a href="index.html" class="navbar-brand">
44+
<img src="assets/img/logo.png" alt="LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the server-side (with Node.js and Rhino) or client-side (modern browsers only).
45+
">
46+
</a>
4447
</div>
4548
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
4649
<ul class="nav navbar-nav">

functions.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
<span class="icon-bar"></span>
4141
<span class="icon-bar"></span>
4242
</button>
43-
<a href="index.html" class="navbar-brand">LESS</a>
43+
<a href="index.html" class="navbar-brand">
44+
<img src="assets/img/logo.png" alt="LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the server-side (with Node.js and Rhino) or client-side (modern browsers only).
45+
">
46+
</a>
4447
</div>
4548
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
4649
<ul class="nav navbar-nav">

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
<span class="icon-bar"></span>
4141
<span class="icon-bar"></span>
4242
</button>
43-
<a href="index.html" class="navbar-brand">LESS</a>
43+
<a href="index.html" class="navbar-brand">
44+
<img src="assets/img/logo.png" alt="LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the server-side (with Node.js and Rhino) or client-side (modern browsers only).
45+
">
46+
</a>
4447
</div>
4548
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
4649
<ul class="nav navbar-nav">

0 commit comments

Comments
 (0)