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 19, 2024
1 parent 7405bdf commit ee96880
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 56 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": "2791cfc67174b0219e5903410c223f487bd79116",
"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
53 changes: 0 additions & 53 deletions static/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,55 +4,10 @@
--verso-code-font-family: Source Code Pro, monospace;
}

html {
font-size: 16px;
}

p {
font-feature-settings: "calt" off;
}

header h1 {
font-weight: 700;
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 Expand Up @@ -122,11 +77,3 @@ figcaption {
z-index: 9; /* Just below the ToC */
}
}

#print {
display: none;
}

#top-menu {

}

0 comments on commit ee96880

Please sign in to comment.