457 lines
9.4 KiB
CSS
457 lines
9.4 KiB
CSS
html,body {
|
|
background-color: #fbf4d0;
|
|
color: #0c0c27;
|
|
margin: 0; padding: 0;
|
|
width: 100%;
|
|
font-size: large;
|
|
}
|
|
html {
|
|
position: relative;
|
|
min-height: 100%;
|
|
}
|
|
body {
|
|
height: 100%;
|
|
}
|
|
#wrapper {
|
|
border-bottom: 1px solid transparent;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
#content {
|
|
overflow: auto;
|
|
font-family: 'Roboto Slab', serif;
|
|
font-size: 100%;
|
|
font-weight: 300;
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding-left: 2em;
|
|
padding-right: 2em;
|
|
padding-bottom: 2em;
|
|
margin: auto;
|
|
margin-bottom: 1em;
|
|
max-width: 36em;
|
|
min-height: 70%;
|
|
display: block;
|
|
background-color: #f3f3d8;
|
|
-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
|
|
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
|
|
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25), 0px 0px 120px 0px #dbB470;
|
|
z-index: 1000;
|
|
}
|
|
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
|
|
font-weight: 700;
|
|
}
|
|
#content textarea {
|
|
font-family: 'Roboto Mono', monospace;
|
|
min-height: 256px;
|
|
height: 75%;
|
|
width: 100%;
|
|
}
|
|
#content code {
|
|
background-color: #6c6c87;
|
|
color: #f3f3d8;
|
|
font-family: 'Roboto Mono', courier, monospace;
|
|
padding: 0 0.3em 0.1em 0.3em;
|
|
font-size: 90%;
|
|
}
|
|
#content pre code {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 1em;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
box-shadow: inset 2px 2px 8px #2c2c47;
|
|
}
|
|
#content a {
|
|
color: #b87602;
|
|
}
|
|
#content a:visited {
|
|
color: #6c6c87;
|
|
}
|
|
#footer {
|
|
font-size: 50%;
|
|
text-align: center;
|
|
width: 100%;
|
|
padding-bottom: 1em;
|
|
position: relative;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
/* menu and flexbox styling */
|
|
#menu {
|
|
position: relative;
|
|
z-index: 1001;
|
|
font-family: 'Oswald', sans-serif;
|
|
font-size: 100%;
|
|
width: 100%;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #0c0c27;
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-flew-flow: row wrap;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
#menu li {
|
|
flex-grow: 1;
|
|
}
|
|
#menu a {
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: 1em;
|
|
color: #EcEcF7;
|
|
transition: all .10s;
|
|
}
|
|
#menu a:hover {
|
|
background-color: #3c3c57;
|
|
-webkit-transition: background-color .10s linear;
|
|
-moz-transition: background-color .10s linear;
|
|
-o-transition: background-color .10s linear;
|
|
-ms-transition: background-color .10s linear;
|
|
transition: background-color .10s linear;
|
|
}
|
|
#menu input {
|
|
font-family: 'Oswald', sans-serif;
|
|
font-size: 75%;
|
|
margin: 0;
|
|
margin-left: 1em;
|
|
border: 0;
|
|
}
|
|
#menu input[type="submit"] {
|
|
width: 6em;
|
|
}
|
|
@media all and (max-width: 800px) {
|
|
#menu {
|
|
justify-content: space-around;
|
|
}
|
|
}
|
|
@media all and (max-width: 600px) {
|
|
#menu {
|
|
-webkit-flex-flow: column wrap;
|
|
flex-flow: column wrap;
|
|
padding: 0;
|
|
}
|
|
#menu a {
|
|
text-align: center;
|
|
padding: 10px;
|
|
border-top: 1px solid rgba(255,255,255,0.3);
|
|
border-bottom: 1px solid rgba(0,0,0,0.1);
|
|
}
|
|
#menu li:last-of-type a {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
/* controls */
|
|
#controls {
|
|
position: relative;
|
|
font-family: 'Oswald', sans-serif;
|
|
font-size: 75%;
|
|
width: 100%;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #fcfce2;
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-flew-flow: row wrap;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
z-index: 1001;
|
|
}
|
|
#controls li {
|
|
flex-grow: 1;
|
|
text-align: center;
|
|
}
|
|
#controls img {
|
|
height: 1em;
|
|
margin-right: 0.5em;
|
|
}
|
|
#controls a {
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: 0.25em;
|
|
color: #0c0c27;
|
|
transition: all .10s;
|
|
box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-moz-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-webkit-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
}
|
|
#controls a:hover {
|
|
background-color: #acac92;
|
|
-webkit-transition: background-color .10s linear;
|
|
-moz-transition: background-color .10s linear;
|
|
-o-transition: background-color .10s linear;
|
|
-ms-transition: background-color .10s linear;
|
|
transition: background-color .10s linear;
|
|
}
|
|
/* breadcrumbs */
|
|
#crumbs {
|
|
font-family: 'Oswald', sans-serif;
|
|
font-size: 75%;
|
|
width: 100%;
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #3c3c57;
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-flex-flow: row wrap;
|
|
justify-content: flex-start;
|
|
align-items: stretch;
|
|
position: relative;
|
|
z-index: 1001;
|
|
}
|
|
#crumbs li {
|
|
text-align: left;
|
|
}
|
|
#crumbs a {
|
|
text-decoration: none;
|
|
padding: 0.25em;
|
|
display: block;
|
|
color: #ececf7;
|
|
transition: all .10s;
|
|
padding: 0.5em;
|
|
min-width: 4em;
|
|
border-right: 1px solid #2c2c47;
|
|
}
|
|
#crumbs a:hover {
|
|
background-color: #2c2c47;
|
|
-webkit-transition: background-color .10s linear;
|
|
-moz-transition: background-color .10s linear;
|
|
-o-transition: background-color .10s linear;
|
|
-ms-transition: background-color .10s linear;
|
|
transition: background-color .10s linear;
|
|
}
|
|
/* form styling */
|
|
input {
|
|
padding: 0.75em;
|
|
border: solid 1px #d5d5d5;
|
|
outline: 0;
|
|
font-family: 'Roboto Mono', monospace;
|
|
width: 200px;
|
|
background: #FFFFFF;
|
|
}
|
|
input:hover,input:focus {
|
|
border-color: #b1b1b1;
|
|
}
|
|
label {
|
|
font-family: 'Oswald', sans-serif;
|
|
margin: 1.0em 0em 0.5em 0em;
|
|
color: #0c0c27;
|
|
width: 5em;
|
|
display: block;
|
|
}
|
|
input[type="submit"] {
|
|
font-family: 'Oswald', sans-serif;
|
|
background-color: #b87602;
|
|
padding: 0.75em;
|
|
border: 0;
|
|
font-size: 100%;
|
|
color: #FFFFFF;
|
|
cursor: pointer;
|
|
box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-moz-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-webkit-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
transition: all .10s;
|
|
}
|
|
input[type="submit"]:hover {
|
|
background-color: #e89622;
|
|
-webkit-transition: background-color .10s linear;
|
|
-moz-transition: background-color .10s linear;
|
|
-o-transition: background-color .10s linear;
|
|
-ms-transition: background-color .10s linear;
|
|
transition: background-color .10s linear;
|
|
|
|
}
|
|
textarea,input {
|
|
margin-left: 0.5em;
|
|
margin-right: 0.5em;
|
|
box-shadow: rgba(0,0,0, 0.1) 0px 0px 4px;
|
|
-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 4px;
|
|
-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 4px;
|
|
}
|
|
textarea:focus,input:focus {
|
|
box-shadow: rgba(0,0,0, 0.20) 0px 0px 8px;
|
|
-moz-box-shadow: rgba(0,0,0, 0.2) 0px 0px 8px;
|
|
-webkit-box-shadow: rgba(0,0,0, 0.2) 0px 0px 8px;
|
|
transition: all .2s;
|
|
}
|
|
.edit {
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-flex-flow: row wrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
overflow-x: hidden;
|
|
}
|
|
.edit div {
|
|
margin-right: 2em;
|
|
flex: 1;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 0.5em;
|
|
}
|
|
.edit input[type="text"] {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
/* prompt styling */
|
|
.prompt {
|
|
margin-top: 1em;
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-flex-flow: row wrap;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
.prompt input {
|
|
flex-grow: 1;
|
|
text-align: center;
|
|
}
|
|
/* form label tooltips */
|
|
#content label {
|
|
font-size: 100%;
|
|
position: relative;
|
|
text-decoration:underline;
|
|
cursor:help;
|
|
}
|
|
#content label span {
|
|
background-color: #333;
|
|
padding: 0.5em;
|
|
font-family: 'Roboto Slab', serif;
|
|
font-size: 50%;
|
|
color: #CCC;
|
|
display: block;
|
|
position: absolute;
|
|
top: -25%;
|
|
left: 85%;
|
|
width: 350%;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
transition: visibility 0s .10s, opacity .10s linear;
|
|
}
|
|
#content label:hover span {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
transition: opacity .10s linear;
|
|
}
|
|
/* content styling */
|
|
#content p {
|
|
margin-left: 1em;
|
|
}
|
|
#content ul {
|
|
margin-left: 1em;
|
|
}
|
|
/* content definition list styling */
|
|
dl {
|
|
}
|
|
dt {
|
|
font-weight: bold;
|
|
color: #3c3c57;
|
|
padding-left: 1em;
|
|
}
|
|
dd {
|
|
text-align: left;
|
|
padding: 0 0 0.5em 0;
|
|
}
|
|
/* content table styling */
|
|
table {
|
|
box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-moz-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-webkit-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
}
|
|
thead {
|
|
background-color: #3c3c57;
|
|
color: #ececf7;
|
|
}
|
|
tr {
|
|
}
|
|
th {
|
|
padding: 0.5em;
|
|
}
|
|
tbody {
|
|
}
|
|
td {
|
|
padding: 0.5em;
|
|
background-color: #fcfce2;
|
|
box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-moz-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
-webkit-box-shadow: rgba(0,0,0, 0.2) 0px 0px 4px;
|
|
}
|
|
/* section */
|
|
section {
|
|
padding-left: 0.5em;
|
|
}
|
|
/* index view styling */
|
|
#act_index {
|
|
width: 90%;
|
|
}
|
|
#act_index li {
|
|
display: -webkit-box;
|
|
display: -moz-box;
|
|
display: -ms-flexbox;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-flex-flow: col wrap;
|
|
justify-content: space-around;
|
|
align-items: flex-end;
|
|
}
|
|
#act_index a {
|
|
flex-grow: 2;
|
|
}
|
|
#act_index .file_qwk:before, #act_index .file_dir:before, #act_index .file_other:before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-right: 0.5em;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
#act_index .file_qwk:before {
|
|
background-image:url('/file_qwk.png');
|
|
}
|
|
#act_index .file_dir:before {
|
|
width: 24px;
|
|
background-image:url('/file_dir.png');
|
|
}
|
|
#act_index .file_other:before {
|
|
content: '';
|
|
background-image:url('/file_other.png');
|
|
}
|
|
#act_index .file_delete {
|
|
flex-grow: 1;
|
|
text-align: right;
|
|
}
|