Skip to content

Commit

Permalink
CSS adjusts
Browse files Browse the repository at this point in the history
  • Loading branch information
agnogueira committed Aug 29, 2014
1 parent b8443b4 commit a132563
Showing 1 changed file with 34 additions and 22 deletions.
56 changes: 34 additions & 22 deletions src/collective/liveblog/static/styles.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,56 @@
#liveblog-header img {
max-width: 100%;
height: auto;
max-width: 100%;
}

.field input[type="text"] {
.portaltype-liveblog .field input[type="text"] {
width: 100%;
}

form {
.portaltype-liveblog form {
padding-bottom: 1em;
}

.portaltype-liveblog textarea {
height: 100px;
}
.portaltype-liveblog #content header {
margin-bottom: 1em;
}
#micro-updates article {
border-top: 1px solid #ccc;
padding: 1em 0 0 0;
clear: both;
margin-bottom: 1em;
padding: 1em 0 0 0;
position: relative;
}

.microupdate-byline time {
width: 90px;
position: absolute;
top: 0;
background: #f1f1f1;
text-align: center;
line-height: 1.2em;
font-size: 2em;
display: block;
color: #c9c9c9;
line-height: 2em;
padding: 0.3em 0;
font-size: 1.8em;
padding: 1em 0;
position: absolute;
text-align: center;
top: 0;
width: 90px;
}

.microupdate-title,
.microupdate-text,
.microupdate-byline p {
.microupdate-title, .microupdate-text, .microupdate-byline p {
margin-left: 110px;
}
.microupdate-byline p {
margin-top: -1em;
color: #666;
}
.microupdate-text p:last-child {
margin-bottom: 0 !important;
}
/* Mobile */
@media all and (max-width: 680px) {
.microupdate-byline time {
font-size: 1.2em;
padding: 0.5em 0;
width: 60px;
}
.microupdate-title, .microupdate-text, .microupdate-byline p {
margin-left: 70px;
}
#micro-updates article {
padding-top: 0.3em;
}
}

0 comments on commit a132563

Please sign in to comment.