Skip to content

Commit 371d31c

Browse files
committed
more fixes for smaller screens
1 parent 94cf1ae commit 371d31c

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

jekyll/assets/css/main.scss

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ footer {
146146
padding: 0;
147147
z-index: 100;
148148
line-height: 1;
149+
position: fixed;
149150
background-color: $menu-background-color;
150151

151152
a {
@@ -250,14 +251,13 @@ a.pure-menu-link.pure-menu-heading {
250251
}
251252

252253
.jumbotron {
253-
padding: 40px 0;
254+
padding: 20pt 0;
254255
background-color: $jumbotron-background-color;
255256
color: $jumbotron-color;
256257

257258
h1 {
258259
font-size: 225%;
259-
margin-bottom: 0;
260-
margin-top: 0;
260+
margin: 0;
261261
color: $highlight-color;
262262
}
263263

@@ -982,14 +982,6 @@ blockquote {
982982

983983
// Styles that apply only to narrow screens (typically mobile devices)
984984
@media (max-width: 1000px) {
985-
.jumbotron .pure-u-1 {
986-
margin-bottom: 50px;
987-
}
988-
989-
.jumbotron h1 {
990-
margin-top: 0;
991-
}
992-
993985
.post-meta {
994986
margin-bottom: -5px;
995987
}

jekyll/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
---
55

66
<section class="main jumbotron">
7+
<section class="main jumbotron"></section> <!-- hack to move everything down, without increasing padding -->
78
<section class="content">
89
<div class="pure-g">
910
<div class="pure-u-1 main-block">
@@ -21,8 +22,7 @@ <h3>Efficient</h3>
2122
which are small and allow easy redistribution.</li>
2223
<li>The Nim compiler and the generated executables support all major platforms like
2324
Windows, Linux, BSD and Mac OS X.</li>
24-
<li>Nim supports a number of memory management strategies to best fit your application:
25-
garbage collection, reference counting, or full manual control.</li>
25+
<li>Fast deferred reference counting memory management that supports real-time systems</li>
2626
<li>Modern concepts like zero-overhead iterators and compile time evaluation
2727
of user-defined functions, in combination with the preference of value-based
2828
datatypes allocated on the stack, lead to extremely performant code.</li>

0 commit comments

Comments
 (0)