Files
mdshop/static/style.css
2017-07-03 14:08:38 +03:00

96 lines
3.3 KiB
CSS

body { font-family: monospace; background: #eee; }
a, h1, h2 { color: #377ba8; }
h1, h2 { margin: 0; }
h1 { border-bottom: 2px solid #eee; }
h2 { font-size: 1.2em; border-top: 2px solid #eee; margin-top: 0.25em; margin-bottom: 0.25em;}
td { height: 1.75em; }
textarea { border: 2px solid #ccc; }
input[type=text]{ border: 2px solid #ccc; }
hr { border-color: #377ba8; }
.submit { font-family: monospace; }
.tickbox { margin-right: 0.5em; width:2em; height:1.8em; }
.iconbox { margin-right: 0.5em; width: 1.5em; cursor: pointer;
font-size:1.5em; color:#377ba8; }
.noitem { background-color: transparent; border-color:transparent; }
.page { border: 5px solid #ccc; padding: 0.5em;
background: white; overflow:auto; min-height:16em;}
.entries { margin-top: 1em; margin-bottom: 1em; }
.entries input { margin-top: 0.125em; margin-bottom: 0.125em; }
.entries li { margin: 0.8em 1.2em; }
.entries h2 { margin-left: -1em; }
.add-entry { font-size: 0.9em; }
.add-entry dl { font-weight: bold; }
.metanav { text-align: left; font-size: 1.2em;
background: #fafafa; font-weight: normal; }
.button-panel-row { margin-top: 1em; }
.button-panel-col { float: left; display: block; margin-right: 1em;
min-width: 23ex;}
.flash { background: #cee5F5; padding: 0.5em;
border: 1px solid #aacbe2; }
.error { background: #f0d6d6; padding: 0.5em; }
.hidden { display: none; }
.pointer { cursor: pointer; text-decoration: underline; }
.hspacer { width: 1em; display: inline-block;}
.notify { -webkit-animation: notifier 500ms alternate infinite;
-moz-animation: notifier 500ms alternate infinite;
-o-animation: notifier 500ms alternate infinite;
animation: notifier 500ms alternate infinite; }
.date { font-size: 0.75em; margin-top: 1.2em; }
/* MD rendering */
.md_head { color: #377ba8; font-weight: bold; }
.md_quote { font-style: italic; }
.md_bold { font-weight: bold; }
.md_code { color: #a83737; }
/* dropdown */
.dropbtn {
color: #377ba8;
text-decoration: underline;
cursor: pointer;
font-weight: bold;
letter-spacing:-0.1em;
margin: 0;
}
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
background-color: #ccc;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
/*right: 0px;*/
position: absolute;
background-color: #fafafa;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
/* Links inside the dropdown */
.dropdown-content a {
padding: 8px 16px;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
@keyframes notifier {
0% { box-shadow: 0px 0px 4px 4px #fff; }
100% { box-shadow: 0px 0px 4px 4px #cee5F5; }
}