Skip to content

Commit

Permalink
chore: upstream some theme elements and update Verso
Browse files Browse the repository at this point in the history
This should fix horizontal scrolling on mobile phones.
  • Loading branch information
david-christiansen committed Nov 18, 2024
1 parent 7405bdf commit 41a315d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 39 deletions.
4 changes: 2 additions & 2 deletions lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "6b15732648542ff28017eea75da3dddceea1fe91",
"rev": "fb7cd904d704155f793c9c5798e4ba08b1efe739",
"name": "verso",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "mobile-css-manual",
"inherited": false,
"configFile": "lakefile.lean"}],
"name": "«verso-manual»",
Expand Down
2 changes: 1 addition & 1 deletion lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Lake
open Lake DSL
open System (FilePath)

require verso from git "https://github.com/leanprover/verso"@"main"
require verso from git "https://github.com/leanprover/verso"@"mobile-css-manual"

package "verso-manual" where
-- work around clang emitting invalid linker optimization hints that lld rejects
Expand Down
36 changes: 0 additions & 36 deletions static/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,6 @@ header h1 {
margin: 10px;
}

h1 {
font-size: 3.0em;
line-height: 1.5;
margin-bottom: 1.5rem;
}

h2 {
font-size: 1.8rem;
line-height: 1.5;
margin-bottom: 1rem;
}

h3 {
font-size: 1.4rem;
line-height: 1.5;
margin-bottom: 0.2rem;
}

h4 {
font-size: 1.2rem;
line-height: 1.25;
margin-bottom: 0.2rem;
}

h5 {
font-size: 1rem;
line-height: 1.25;
margin-bottom: 0.2rem;
}

h6 {
font-size: 1rem;
line-height: 1.15;
margin-bottom: 0rem;
}

.hl.lean.block {
margin-top: 1em;
margin-bottom: 1em;
Expand Down

0 comments on commit 41a315d

Please sign in to comment.