Sammlung
This commit is contained in:
287
Sammlung/Praktikum/4/css/main.css
Normal file
287
Sammlung/Praktikum/4/css/main.css
Normal file
@ -0,0 +1,287 @@
|
||||
/* main.css */
|
||||
|
||||
/* allgemeine Vorgaben */
|
||||
body {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-size: 12pt;
|
||||
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Basislayout */
|
||||
|
||||
.clSiteHeader {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 12pt;
|
||||
color: #efc9a0;
|
||||
background-color: #40200d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.clLoggedInText {
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
height: 80px;
|
||||
line-height: 48px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 12pt;
|
||||
color: #efc9a0;
|
||||
background-color: #40200d;
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.clNav {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 150px;
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
|
||||
}
|
||||
|
||||
.clNav a, a:hover, a:visited, a:active{
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.clNav a:hover {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.clContentOuter {
|
||||
position: absolute;
|
||||
top: 80px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.clContent {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
background-color: #efc9a0;
|
||||
}
|
||||
|
||||
/* Elemente im Content-Bereich */
|
||||
|
||||
.clContentHeader {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 14pt;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.clContentArea {
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 40px;
|
||||
margin: 0;
|
||||
padding: 0px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.clSelected{
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
.clButtonArea {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
background-color: #40200d;
|
||||
|
||||
}
|
||||
|
||||
/* Links und Submit-Schalter im Buttonbereich gestalten */
|
||||
|
||||
.clButtonArea button, a, input[type="submit"] {
|
||||
margin: 0 5px;
|
||||
padding: 3px 6px;
|
||||
font-size: 10pt;
|
||||
text-decoration: none;
|
||||
border: 1px solid;
|
||||
color: black;
|
||||
background-color: #efc9a0;
|
||||
}
|
||||
|
||||
.clButtonArea button:disabled {
|
||||
color: graytext;
|
||||
}
|
||||
|
||||
|
||||
.clButtonArea button:enabled {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Gestaltung von Tabellen */
|
||||
|
||||
#idTopicList, #idDiscussionList {
|
||||
table-layout: fixed;
|
||||
width: 66%;
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
margin:auto;
|
||||
|
||||
}
|
||||
|
||||
#idTopicList th, #idDiscussionList th {
|
||||
text-align: left;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
#idTopicList th, #idTopicList td, #idDiscussionList th, #idDiscussionList td{
|
||||
padding: 3px;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
#idPostList {
|
||||
width: 80%;
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
margin:auto;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.listheader th{
|
||||
color:#efc9a0;
|
||||
background-color:#40200d;
|
||||
}
|
||||
|
||||
#idTopicList tr, #idDiscussionList tr{
|
||||
background-color:#F4C484
|
||||
}
|
||||
|
||||
#idTopicList tr:nth-of-type(even), #idDiscussionList tr:nth-of-type(even){
|
||||
background-color:#E4A454;
|
||||
}
|
||||
|
||||
|
||||
/* Gestaltung von Formularen */
|
||||
|
||||
/* das Formular nochmals zusätzlich gestalten */
|
||||
#idForm .clContentArea {
|
||||
width: 500px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.clFormRow {
|
||||
position: relative; /* damit das Element in jedem Fall "positioniert" ist und damit als Bezugspunkt geeignet ist */
|
||||
height: 25px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.clFormRow label {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 150px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.clFormRow input, .clFormRow textarea {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 160px;
|
||||
width: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
|
||||
/********************************************************************STYLES für einzelne Posts der Postliste*/
|
||||
#idPostList li {
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
list-style-type: none;
|
||||
|
||||
}
|
||||
|
||||
.clMetaDataContainer {
|
||||
width: 15%;
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
left: 0;
|
||||
right: 80%;
|
||||
color: #efc9a0;
|
||||
background-color: #40200D;
|
||||
}
|
||||
|
||||
.clPostContainer{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.clPostDataContainer{
|
||||
position: absolute;
|
||||
width: 85%;
|
||||
left: 15%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#idPostList .clOwner {
|
||||
margin: 0px;
|
||||
|
||||
}
|
||||
#idPostList .clTime {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#idPostList .clTitle {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #efc9a0;
|
||||
background-color: #40200d;
|
||||
}
|
||||
|
||||
#idPostList .clText {
|
||||
margin: 0;
|
||||
margin-left: 3px;
|
||||
bottom: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* EOF */
|
Reference in New Issue
Block a user