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

Add styles for basic positioning

parent 84a30628
No related branches found
No related tags found
No related merge requests found
* {
box-sizing: border-box;
}
body {
font-family: 'Verlag', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
margin: 0;
text-align: center;
}
body.embedded #plotter {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#plotter {
align-items: center;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
}
#plotter-nav {
padding: 8px;
width: 100%;
}
#plotter-nav > a,
#plotter-nav > span {
display: inline-block;
margin: 8px;
padding: 7px;
border: 1px solid black;
width: 256px;
max-width: calc(100% - 16px);
}
#controls {
width: 100%;
}
#selections {
padding: 8px;
width: 100%;
}
#selections > div {
display: inline-block;
margin: 8px;
width: 224px;
max-width: calc(100% - 16px);
}
#selections label,
#selections select {
display: block;
width: 100%;
}
#plot img {
aspect-ratio: 1200 / 600;
background: #eee;
max-width: 100%;
width: 1200px;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment