spee.ch/public/assets/css/generalStyle.css

185 lines
2.1 KiB
CSS
Raw Normal View History

2017-08-20 21:01:52 +02:00
body, button, input, textarea, label, select, option {
font-family: serif;
}
2017-06-23 06:43:53 +02:00
/* Containters */
.wrapper {
margin-left: 20%;
width:60%;
}
.top-bar {
width: 100%;
margin-bottom: 2px;
padding-bottom: 2px;
border-bottom: 1px lightgrey solid;
margin-top: 2em;
2017-07-26 03:49:02 +02:00
overflow: auto;
text-align: right;
display: inline-block;
vertical-align: text-bottom;
}
.full {
clear: both;
2017-06-23 06:43:53 +02:00
}
.main {
float: left;
2017-07-06 08:22:47 +02:00
width: 65%;
2017-07-07 02:38:57 +02:00
2017-06-23 06:43:53 +02:00
}
.sidebar {
float: right;
2017-07-07 02:38:57 +02:00
width: 33%;
2017-06-23 06:43:53 +02:00
}
2017-06-27 03:14:42 +02:00
footer {
display: inline-block;
2017-06-27 03:14:42 +02:00
width: 100%;
margin-bottom: 2px;
padding-bottom: 2px;
border-bottom: 1px lightgrey solid;
margin-top: 2px;
padding-top: 2px;
border-top: 1px lightgrey solid;
text-align: center;
color: grey;
}
2017-06-23 06:43:53 +02:00
/* panels */
.panel {
overflow: auto;
word-wrap: break-word;
}
.col-left, .col-right {
overflow: auto;
margin: 0px;
width: 48%;
}
.col-left {
padding: 5px 10px 5px 0px;
float: left;
}
.col-right {
padding: 5px 0px 5px 10px;
float: right;
}
/* text */
2017-07-07 02:38:57 +02:00
a, a:visited {
color: blue;
2017-06-23 06:43:53 +02:00
text-decoration: none;
}
h1 {
font-size: x-large;
}
h2 {
font-size: medium;
2017-07-06 03:26:33 +02:00
margin-top: 1em;
2017-06-23 06:48:21 +02:00
border-top: 1px #999 solid;
background-color: lightgray;
2017-06-23 06:43:53 +02:00
padding: 6px;
}
2017-07-07 02:38:57 +02:00
.subheader {
margin-top: 0px;
}
2017-06-23 06:43:53 +02:00
h4 {
padding: 3px;
}
.center-text {
text-align: center;
}
2017-07-03 20:16:51 +02:00
/* other */
input {
padding: 0.3em;
2017-06-23 06:43:53 +02:00
}
table {
width: 100%;
text-align: left;
}
2017-06-23 06:43:53 +02:00
.stop-float {
clear: both;
2017-06-23 21:33:09 +02:00
}
.toggle-link {
float: right;
2017-06-27 03:14:42 +02:00
}
2017-07-06 08:22:47 +02:00
.wrap-words {
word-wrap: break-word;
}
2017-07-14 18:06:04 +02:00
.input-error {
font-weight: bold;
color: red;
font-size: small;
2017-07-14 18:06:04 +02:00
}
2017-06-27 03:14:42 +02:00
@media (max-width: 1250px) {
.wrapper {
margin-left: 10%;
width:80%;
}
}
@media (max-width: 1000px) {
.wrapper {
margin-left: 10%;
width:80%;
}
.main {
float: none;
width: 100%;
margin-right: 0px;
padding-right: 0px;
border-right: 0px;
margin-bottom: 5px;
}
.sidebar {
2017-06-27 03:21:16 +02:00
border-top: 1px solid lightgray;
2017-06-27 03:14:42 +02:00
float: none;
width: 100%;
}
}
@media (max-width: 750px ) {
.col-left, .col-right {
float: none;
margin: 0px;
padding: 0px;
width: 100%;
}
.col-right {
padding-top: 20px;
}
}
@media (max-width: 475px) {
.wrapper {
margin: 0px;
width: 100%;
}
2017-06-23 06:43:53 +02:00
}