minor fix

This commit is contained in:
Naeltard 2015-02-26 11:51:13 +01:00
parent 71f6f2d32a
commit b03cf8945f
5 changed files with 19 additions and 15 deletions

View File

@ -1,5 +1,5 @@
<button class="btn btn-default" id="backbtn">zurück</button><br><br>
<div class="list_element" text_id="${tag_id}" style="width: 750px; margin: auto; margin-bottom: 50px; padding: 20px;">
<div class="list_element" text_id="${tag_id}" style="width: 750px; margin: auto; margin-bottom: 50px; padding: 20px; text-align: justify;">
<p style="float: left; font-size: 10pt; margin-top: 7px;">Author: <i>${author}</i></p>
<p style="float: right; font-size: 10pt; margin-top: 7px;">${ago}</p>
<div style="clear: both;"></div>

View File

@ -1,5 +1,5 @@
<div class ="list_element element_shadow" text_id="${tag_id}" style="width: 750px; margin: auto; margin-bottom: 50px; padding: 20px;">
<div class="list_element element_hover article" text_id="${tag_id}" style="">
<div class ="list_element" text_id="${tag_id}" style="">
<div class="element_hover article" text_id="${tag_id}" style="border-bottom: 1px black solid; text-align: justify;">
<p style="float: left; font-size: 10pt; margin-top: 7px;">Author: <i>${author}</i></p>
<p style="float: right; font-size: 10pt; margin-top: 7px;">${ago}</p>
@ -11,5 +11,5 @@ ${deDE}
<p style="float: right; font-size: 10pt; margin-top: 7px;">Veröffentlicht: ${published}</p>
<br>
</div>
<div class="btn btn-info" style="width: 100%;">Weiterlesen...</div>
<div class="btn btn-default" style="margin-top: 10px; width: 35%;">Weiterlesen...</div>
</div>

View File

@ -15,8 +15,17 @@ body{
margin: 0 auto;
}
.list_element:hover {
background-color: white;
.list_element{
width: 750px;
margin: auto;
margin-bottom: 50px;
padding: 20px;
border: white solid 1px;
}
.list_element:hover{
/* background-color: #EEE;*/
border: #005fb3 solid 1px;
}
@ -32,7 +41,7 @@ body{
width: 100%;
content: "";
background: linear-gradient(to top,
rgba(255,255,255, 1) 10%,
rgba(255,255,255, 1) 1%,
rgba(255,255,255, 0) 20%
);
pointer-events: none; /* so the text is still selectable */
@ -43,10 +52,5 @@ body{
max-height: 400px;
overflow-y: hidden;
}
.element_hover:hover {
background: white;
}
element_shadow:hover{
background-color: #EEE;
}

View File

@ -7,7 +7,7 @@
${css}
${js}
</head>
<body>
<body style="width: 100%">
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {

View File

@ -1,4 +1,4 @@
<div style="width: 750px; margin: auto; margin-bottom: 50px;">
<div style="width: 750px; margin: auto; margin-bottom: 50px; text-align: justify;">
<p style="float: left; font-size: 10pt; margin-top: 7px;">Author: <i>${author}</i></p>
<p style="float: right; font-size: 10pt; margin-top: 7px;">Veröffentlicht: ${timestamp}</p>
<div style="clear: both;"></div>