Files
mdshop/static/style.css
2016-07-04 19:56:47 +03:00

71 lines
2.2 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; }
.submit { font-family: monospace; }
.tickbox { margin-right: 1em; }
.noitem { background-color: transparent; border-color:transparent; }
.page { border: 5px solid #ccc; padding: 0.5em;
background: white; }
.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: bold; }
.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; }
/* 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: 12px 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;}