Skip to content

Commit 24abd7a

Browse files
2nd attempt for lgoo before rollback
1 parent 7718bcc commit 24abd7a

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
title: CRUP
22
description: Codebase's Ramp Up Program
33
theme: just-the-docs
4-
logo: "/assets/images/cb-logo.png"
54

65
# Where the site will live
76
url: "https://codebase-berkeley.github.io"

_sass/custom/custom.scss

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,20 @@
7171
}
7272
}
7373

74+
/* Custom site title with logo styling */
7475
.site-title {
7576
display: flex !important;
7677
align-items: center !important;
7778

78-
img {
79-
height: 32px;
80-
width: auto;
81-
margin-right: 12px;
79+
&::after {
80+
content: '';
81+
background-image: url('/crup/assets/images/cb-logo.png');
82+
background-size: contain;
83+
background-repeat: no-repeat;
84+
background-position: center;
85+
height: 28px;
86+
width: 28px;
87+
margin-left: 12px;
8288
border-radius: 4px;
8389
}
8490
}

0 commit comments

Comments
 (0)