amanuensis/amanuensis/resources/page.css

175 lines
2.9 KiB
CSS

body {
background-color: #eeeeee;
line-height: 1.4;
font-size: 16px;
}
div#wrapper {
max-width: 800px;
position: absolute;
left: 0;
right: 0;
margin: 0 auto;
}
div#header {
padding: 5px;
margin: 5px;
background-color: #ffffff;
box-shadow: 2px 2px 10px #888888;
border-radius: 5px;
overflow: auto;
position: relative;
}
div#header p, div#header h2 {
margin: 5px;
}
div#login-status {
text-align: right;
position: absolute;
top: 10px;
right: 10px;
}
div#sidebar {
width: 200px;
float:left;
margin:5px;
padding: 8px;
text-align: center;
background-color: #ffffff;
box-shadow: 2px 2px 10px #888888;
border-radius: 5px;
}
img#logo {
max-width: 200px;
}
table {
table-layout: fixed;
width: 100%;
}
div#sidebar table {
border-collapse: collapse;
}
div.citeblock table td:first-child + td a {
justify-content: flex-end;
}
div.misclinks table td a {
justify-content: center;
}
table a {
display: flex;
padding: 3px;
background-color: #dddddd;
border-radius: 5px;
text-decoration: none;
}
div#sidebar table a {
justify-content: center;
}
table a:hover {
background-color: #cccccc;
}
div#sidebar table a.current-page {
background-color: #bbbbbb;
}
div#sidebar table a.current-page:hover {
background-color: #bbbbbb;
}
div#sidebar table td {
padding: 0px; margin: 3px 0;
border-bottom: 8px solid transparent;
}
div#content {
margin: 5px;
}
div.content-2col {
position: absolute;
right: 0px;
left: 226px;
max-width: 564px;
}
div.contentblock {
background-color: #ffffff;
box-shadow: 2px 2px 10px #888888;
margin-bottom: 5px;
padding: 10px;
width: auto;
border-radius: 5px;
word-break: break-word;
}
div.contentblock h3 {
margin: 0.3em 0;
}
a.phantom {
color: #cc2200;
}
div.citeblock a.phantom {
font-style: italic;
}
span.signature {
text-align: right;
}
textarea.fullwidth {
resize: vertical;
width: 100%;
box-sizing: border-box;
}
input.smallnumber {
width: 4em;
}
form#session-settings p {
line-height: 1.8em;
}
form#lexicon-join {
text-align: center;
}
div.dashboard-lexicon-item {
margin: 0 10px;
padding: 0 10px;
border-left: 3px solid black;
}
div.dashboard-lexicon-unstarted {
border-left-color: blue;
}
div.dashboard-lexicon-ongoing {
border-left-color: goldenrod;
}
div.dashboard-lexicon-completed {
border-left-color: green;
}
div.dashboard-lexicon-item span.dashboard-lexicon-item-title {
font-size: 1.5em;
font-weight: bold;
}
div.dashboard-lexicon-item p {
margin-block-start: 0.5em;
margin-block-end: 0.5em;
}
@media only screen and (max-width: 816px) {
div#wrapper {
padding: 5px;
}
div#header {
max-width: 554px;
margin: 0 auto;
}
div#sidebar {
max-width: 548px;
width: inherit;
float: inherit;
margin: 10px auto;
}
div#content{
margin: 10px auto;
}
div.content-1col {
max-width: 564px;
}
div.content-2col {
max-width: 564px;
position: static;
right: inherit;
}
img#logo {
max-width: inherit;
width: 100%;
}
}