Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure CSS files to make tracking actual changes easier
- Loading branch information
1 parent
de55f8b
commit 74c05cd
Showing
2 changed files
with
44 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
/* CSS for left navigation bar */ | ||
/* Add scrollbar if overflowing in y-direction. The 95% of viewport height allow for borders.*/ | ||
.ltx_page_navbar { | ||
display:block!important; position:fixed; left:0px; top:0px; width:170px; | ||
margin:0em; padding:1em; font: bold 75% sans-serif; | ||
border: 3px double; overflow-y: auto; height: 95vh; } | ||
display: block!important; | ||
position: fixed; | ||
left: 0px; | ||
top: 0px; | ||
width: 170px; | ||
margin: 0em; | ||
padding: 1em; | ||
font: bold 75% sans-serif; | ||
border: 3px double; | ||
overflow-y: auto; | ||
height: 95vh; | ||
} | ||
|
||
.ltx_page_navbar ul { | ||
margin-left:-2em; } | ||
margin-left: -2em; | ||
} | ||
|
||
.ltx_page_main { | ||
position:absolute; left:190px; top:0px; right:2px; | ||
margin:0px; padding:1em 3em 1em 2em; | ||
width:70%; } | ||
position:absolute; | ||
left: 190px; | ||
top: 0px; | ||
right: 2px; | ||
margin: 0px; | ||
padding: 1em 3em 1em 2em; | ||
width: 70%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
/* CSS for left navigation bar */ | ||
/* CSS for right navigation bar */ | ||
|
||
.ltx_page_navbar { | ||
display:block!important; position:fixed; left:80%; top:0px; width:20%; | ||
margin:0em; padding:1em; font: bold 75% sans-serif; overflow-y: auto; max-height: 95vh; } | ||
display: block!important; | ||
position: fixed; | ||
left: 80%; | ||
top: 0px; | ||
width: 20%; | ||
margin: 0em; | ||
padding: 1em; | ||
font: bold 75% sans-serif; | ||
overflow-y: auto; | ||
max-height: 95vh; | ||
} | ||
|
||
.ltx_page_navbar ul { | ||
margin-left:-2em; } | ||
margin-left: -2em; | ||
} | ||
|
||
.ltx_page_main { | ||
margin:0px; padding:1em 3em 1em 2em; | ||
width:75%; } | ||
margin: 0px; | ||
padding: 1em 3em 1em 2em; | ||
width: 75%; | ||
} |