Skip to content

Commit e594f3e

Browse files
committed
readme tweak
1 parent 06c8c15 commit e594f3e

File tree

11 files changed

+710
-300
lines changed

11 files changed

+710
-300
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ run(`sudo $(npm_cmd()) i lunr cheerio`)
138138
* run `include("deploy.jl")` which re-generates the LUNR index and automatically pushes the changes to GitHub.
139139

140140

141-
This should take ≤ 15 seconds to complete.
141+
This last step should take ≤ 15 seconds to complete.
142142

143143
### 🕵🏽 Troubleshooting
144144

__site/css/extra.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,18 @@ h3 {
174174
border-radius: 30px;
175175
font-size: 0.9rem;
176176
padding: 0.2rem 0.4rem;
177-
width: 80%;
177+
width: 99%;
178178
border: 1px solid #ced4da;
179179
outline: none;
180180
margin-bottom: 0.8rem;
181-
max-width:180px;
181+
max-width:140px;
182182
}
183183
/* decrease width of search box upon resize */
184184
@media only screen and (min-width: 1030px) and (max-width: 1200px) {
185185
#lunrSearchForm .search-input {
186186
max-width: 80px;
187187
margin-right: 1rem;
188+
display: none;
188189
}
189190
}
190191
@media only screen and (min-width: 1100px) and (max-width: 1200px) {

__site/css/nav.css

+14-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
}
2525

26-
a#home {
26+
a#home, a#contribute {
2727
border-radius: 3rem;
2828
}
2929

@@ -44,7 +44,6 @@ a#home {
4444
justify-content: space-around;
4545
}
4646
nav {
47-
//float: right;
4847
display: flex;
4948
justify-content: space-around;
5049
padding: 0.5rem;
@@ -61,6 +60,7 @@ nav ul li {
6160
font-weight: 500;
6261
}
6362

63+
6464
.nav-dropdown li {
6565
float: none;
6666
}
@@ -77,7 +77,6 @@ nav ul li {
7777
nav ul li a,
7878
nav ul li a:visited {
7979
display: block;
80-
//padding: 0 20px;
8180
line-height: 50px;
8281
background-color: #f1f1f1;
8382
color: #363636;
@@ -89,7 +88,7 @@ nav ul li a:visited:hover {
8988
background: #9b59b6;
9089
color: #fff;
9190
}
92-
#home:hover {
91+
#home:hover, #contribute:hover {
9392
background-color: #9b59b6;
9493
color: white !important;
9594
}
@@ -111,6 +110,10 @@ nav ul li a:visited:not(:only-child):after {
111110
nav ul li ul li a {
112111
padding: 15px;
113112
line-height: 20px;
113+
font-weight: 300;
114+
}
115+
nav ul li ul li {
116+
border-bottom: 1px solid #00000021;
114117
}
115118
.nav-dropdown {
116119
position: absolute;
@@ -134,7 +137,7 @@ nav ul li ul li a {
134137
.bottom-nav {
135138
background-color: #f1f1f1;
136139
font-weight: 600;
137-
padding: 8px 8px;
140+
padding: 15px 15px;
138141
color: #2e2e2e;
139142
border-radius: 45px;
140143
outline: none;
@@ -145,8 +148,9 @@ nav ul li ul li a {
145148
flex-direction: column;
146149
align-items: center;
147150
text-decoration: none;
148-
width: 200px;
151+
max-width: 500px;
149152
border: 2px solid #c1c1c1;
153+
150154
}
151155
.bottom-nav:hover {
152156
background-color: #9b59b6;
@@ -156,3 +160,7 @@ nav ul li ul li a {
156160
font-size: 0.9rem;
157161
font-weight: 400;
158162
}
163+
164+
#home {
165+
display: none;
166+
}

__site/css/pure.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Copyright (c) Nicolas Gallagher and Jonathan Neal
1313

1414

1515
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
16+
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
1617

1718
.pure-button:focus,
1819
a:active,
@@ -25,9 +26,8 @@ table {
2526
border-collapse: collapse;
2627
border-spacing: 0
2728
}
28-
2929
html {
30-
font-family: sans-serif;
30+
font-family: "Open Sans", sans-serif;
3131
-ms-text-size-adjust: 100%;
3232
-webkit-text-size-adjust: 100%
3333
}

__site/css/side-menu.css

+9
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ body {
66

77
.header h2 {
88
text-align: center;
9+
10+
}
11+
12+
#menu-logo-link div {
13+
white-space: normal !important;
14+
/* word-wrap: normal !important; */
915
}
1016

1117
.pure-img-responsive {
@@ -65,6 +71,7 @@ The content `<div>` is where all your content goes.
6571
margin: 0.2em 0;
6672
font-size: 3em;
6773
font-weight: 300;
74+
6875
}
6976
.header h1::before {
7077
content: url('https://seeklogo.com/images/J/julia-logo-DC9698BAF9-seeklogo.com.png');
@@ -122,6 +129,8 @@ appears on the left side of the page.
122129
color: #999;
123130
border: none;
124131
padding: 0.6em 0 0.6em 0.6em;
132+
word-wrap: break-word;
133+
white-space: break-spaces;
125134
}
126135

127136
/*

__site/info/how-to-run-code/index.html

+61-60
Large diffs are not rendered by default.

__site/isl/lab-2/index.html

+64-63
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)