Skip to content

Commit

Permalink
Merge pull request #23 from dullin/nit-logo-update
Browse files Browse the repository at this point in the history
New logo in header pages
  • Loading branch information
privat authored Jul 5, 2024
2 parents d347dd5 + 216a98d commit c3d23d1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 6 deletions.
22 changes: 17 additions & 5 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ body {
}

a {
color: #0D8921;
color: #3E8632;
text-decoration: none;
}

Expand All @@ -15,7 +15,7 @@ a:hover {

h1 {
font-weight: bold;
color: #0D8921;
color: #3E8632;
font-size: 22px;
}

Expand Down Expand Up @@ -73,7 +73,7 @@ a.toptitle:hover {
}

#toptitle_second {
color: #0D8921;
color: #3E8632;
font-size: 11em;
line-height: 80%;
}
Expand All @@ -89,7 +89,7 @@ a.toptitle:hover {
margin-left: 10%;
font-style: italic;
clear: both;
color: #0D8921;
color: #3E8632;
}

.sidebar nav {
Expand All @@ -109,7 +109,7 @@ a.toptitle:hover {

.sidebar a {
display: block;
color: #0D8921;
color: #3E8632;
text-decoration: none;
}

Expand Down Expand Up @@ -142,6 +142,18 @@ footer {
content: "\00a0|\00a0";
}

.nit-name-logo-container {
width: 200px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
padding-left: 20px;
}
.nit-name-logo-container img {
width: 100%;
}

/* HIGHLIGHT */

.hl.num { color:#b07e00; }
Expand Down
13 changes: 13 additions & 0 deletions assets/images/nit-name.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion templates/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<header class="container header fixed">
<div class="pageheader">
<a href="%ROOT_URL%" class="toptitle" id="toptitle_first">the</a>
<a href="%ROOT_URL%" class="toptitle" id="toptitle_second">Nit</a>
<a href="%ROOT_URL%" class="toptitle" id="toptitle_second">
<div class="nit-name-logo-container">
<img src="%ROOT_URL%/assets/images/nit-name.svg" alt="Nit">
</div>
</a>
<a href="%ROOT_URL%" class="toptitle" id="toptitle_third">Programming Language</a>
</div>
<div class="topsubtitle">
Expand Down

0 comments on commit c3d23d1

Please sign in to comment.