Skip to content

Commit 3e14bbb

Browse files
committed
Looks great.
1 parent 749f0e3 commit 3e14bbb

File tree

2 files changed

+59
-10
lines changed

2 files changed

+59
-10
lines changed

src/views/App.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,14 @@ export default function App(state) {
3030
${PostList(state, {type:'gists'})}
3131
</section>
3232
</article>
33-
<aside>Suggested things?</aside>
34-
<footer>Footer</footer>
33+
<aside>
34+
<h1>Discover others</h1>
35+
<p>
36+
Follow the followers of your followers, or the followers of those you follow.
37+
</aside>
38+
<footer>
39+
Project of Dosycorp. "Gist", GitHub are marks of GitHub, Inc and its parents and subsidiaries. There is no relationship between GistBarn and these companies.
40+
</footer>
3541
</article>
3642
`;
3743
}

style/style.css

Lines changed: 51 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,37 @@
88
margin: 0 auto;
99
position: relative;
1010
display: table;
11-
min-height: 100vh;
12-
background: #eee;
11+
min-height: 110vh;
12+
background: #e9ebee;
1313
padding: 0 2em 5em 2em;
1414
box-sizing: border-box;
1515
}
1616

1717
/* post styles */
18-
19-
article.post:not(.edit) section.post.edit {
20-
display: none;
21-
}
18+
article.post:not(.edit) section.post.edit {
19+
display: none;
20+
}
2221

2322
/* general semantic grid areas */
24-
.holygrail header {
23+
.holygrail > header {
24+
display: flex;
25+
align-items: center;
2526
grid-area: header;
27+
background: #f5f6f7;
28+
min-height: 2em;
29+
}
30+
31+
.holygrail > header span {
32+
margin: 0 0.5em;
33+
}
34+
35+
.holygrail > header span a {
36+
padding: 0.25em 0.35em;
37+
display: inline-block;
38+
}
39+
40+
.holygrail > header span a:hover {
41+
background: #deebee;
2642
}
2743

2844
.holygrail footer {
@@ -40,11 +56,13 @@ article.post:not(.edit) section.post.edit {
4056
.holygrail article {
4157
grid-area: article;
4258
min-width: 18.5em;
59+
width: 29em;
60+
max-width: 90vw;
61+
margin: 0 auto;
4362
}
4463

4564
/* semantic responsive CSS-grid holygrail */
4665
article.debug.holygrail * {
47-
outline: 1px solid lime;
4866
/*background: rgba(50,50,50,0.2);*/
4967
}
5068

@@ -90,3 +108,28 @@ article.post:not(.edit) section.post.edit {
90108
margin: 0;
91109
}
92110
}
111+
112+
/* grid area styles */
113+
nav ul {
114+
list-style-type: none;
115+
padding: 0;
116+
}
117+
118+
nav ul li {
119+
margin: 0 0 0.2em 0;
120+
background: transparent;
121+
}
122+
123+
nav ul li a {
124+
display: inline-block;
125+
width: 100%;
126+
padding: 0.25em 0;
127+
}
128+
129+
nav ul li:hover {
130+
background: #f5f6f7;
131+
}
132+
133+
nav header {
134+
background: #f5f6f7;
135+
}

0 commit comments

Comments
 (0)