Skip to content

Commit b34da6b

Browse files
authored
Some responsive improvements (#2076)
1 parent 4e33211 commit b34da6b

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

theme/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<link href="{{base_url}}css/bootstrap.min.css" rel="stylesheet">
3131

3232
<!-- Custom styles for this template -->
33-
<link href="{{base_url}}css/docs.css?v=2" rel="stylesheet">
33+
<link href="{{base_url}}css/docs.css?v=3" rel="stylesheet">
3434
<link href="{{base_url}}css/monokai.css" rel="stylesheet">
3535

3636
<!-- Google Tag Manager -->

theme/css/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ pre[class*="language-"] {
146146
margin: 0;
147147
padding: 2em 1.2em;
148148
text-shadow: none;
149+
overflow-y: hidden;
149150
}
150151

151152
code[class*="language-"] {
@@ -187,7 +188,6 @@ code[class*="language-"] * {
187188
}
188189

189190
h1 {
190-
line-height: 86.4px;
191191
font-size: 72px;
192192
font-weight: 700;
193193
margin: 0;

theme/css/nav.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ nav {
4242
.nav__search {
4343
display: none;
4444
max-width: 303px;
45+
margin-left: 32px;
4546
position: relative;
47+
flex-grow: 1;
4648
}
4749

4850
.nav__search-form--mobile {
@@ -307,10 +309,6 @@ nav {
307309
display: none !important;
308310
}
309311

310-
.nav__search--input {
311-
width: 303px;
312-
}
313-
314312
.nav__menu {
315313
align-items: center;
316314
display: flex;
@@ -329,6 +327,7 @@ nav {
329327
list-style-type: none;
330328
margin: 0;
331329
padding: 0;
330+
white-space: nowrap;
332331
}
333332

334333
.nav__item {

theme/keras_3.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
<link href="https://fonts.googleapis.com/css?family=Open+Sans:wght@300;400;500;600&display=swap" rel="stylesheet">
1919

2020
<!-- Custom styles for this template -->
21-
<link href="/css/landing.css?v=2" rel="stylesheet">
22-
<link href="/css/announcement.css?v=2" rel="stylesheet">
21+
<link href="/css/landing.css?v=3" rel="stylesheet">
22+
<link href="/css/announcement.css?v=3" rel="stylesheet">
2323
<link href="{{base_url}}css/monokai.css" rel="stylesheet">
2424

2525
<!-- Google Tag Manager -->

theme/landing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
/>
3939

4040
<!-- Custom styles for this template -->
41-
<link href="css/landing.css?v=2" rel="stylesheet">
41+
<link href="css/landing.css?v=3" rel="stylesheet">
4242

4343
<!-- Google Tag Manager -->
4444
<script>

0 commit comments

Comments
 (0)