Skip to content

Commit dae2db9

Browse files
customizing GitHub pages
1 parent c51d050 commit dae2db9

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-architect

assets/css/style.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
---
3+
4+
@import "{{ site.theme }}";
5+
6+
7+
// Override the theme's two-column layout with a one-column layout
8+
section#main-content {
9+
float: none;
10+
width: auto;
11+
}
12+
13+
aside#sidebar {
14+
display: block;
15+
float: none;
16+
clear: both;
17+
width: 100%;
18+
background: none;
19+
border-top: solid 1px #2f74c2;
20+
min-height: 0;
21+
margin-top: 10em;
22+
padding: 2em;
23+
}
24+
25+
26+
// Make the code samples look better
27+
.highlight {
28+
background-color: white;
29+
}

0 commit comments

Comments
 (0)