Skip to content
Snippets Groups Projects
Verified Commit 2fb08f8c authored by Owen Graham's avatar Owen Graham
Browse files

Copy nav style from UW Theme

parent 2c341998
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,12 @@ body.embedded #plotter { ...@@ -30,6 +30,12 @@ body.embedded #plotter {
padding: 0; padding: 0;
} }
#plotter-nav {
width: 100%;
border: solid #cfcfcf;
border-width: 1px 0;
}
#plotter-nav ul { #plotter-nav ul {
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
...@@ -39,23 +45,31 @@ body.embedded #plotter { ...@@ -39,23 +45,31 @@ body.embedded #plotter {
} }
#plotter-nav li { #plotter-nav li {
display: block; display: table-cell;
padding: 0 .95rem;
max-width: calc(100% - 16px);
} }
#plotter-nav a, #plotter-nav li > * {
#plotter-nav button {
background: none; background: none;
color: inherit; color: inherit;
cursor: pointer; cursor: pointer;
display: block; display: inline-block;
font-family: inherit; font-family: inherit;
font-size: 1rem; font-size: 1.125rem;
margin: 8px; font-weight: bold;
padding: 7px; line-height: 1.125;
border: 1px solid black; margin: .8rem 0;
padding: .3rem 0 .1rem;
border: none;
border-bottom: .2rem solid transparent;
text-decoration: none; text-decoration: none;
width: 256px; }
max-width: 256px;
#plotter-nav li.current > *,
#plotter-nav li > *:hover,
#plotter-nav li > *:focus {
border-bottom-color: #c5050c;
} }
#selections { #selections {
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment