i guess my captions commit got lost somewhere [ci skip]
This commit is contained in:
parent
28f8db51e7
commit
311afa7dc9
3 changed files with 26 additions and 5 deletions
|
|
@ -37,7 +37,7 @@ app.views.SmallFrame = app.views.Base.extend({
|
||||||
textClass = "blog-text x2 width"
|
textClass = "blog-text x2 width"
|
||||||
} else if(text.length > 140) {
|
} else if(text.length > 140) {
|
||||||
textClass = randomColor
|
textClass = randomColor
|
||||||
} else if(text.length > 50) {
|
} else if(text.length > 40) {
|
||||||
textClass = randomColor
|
textClass = randomColor
|
||||||
} else {
|
} else {
|
||||||
textClass = "big-text " + randomColor
|
textClass = "big-text " + randomColor
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,9 @@ body {
|
||||||
.info {
|
.info {
|
||||||
@include transition(bottom);
|
@include transition(bottom);
|
||||||
@include opacity(0.8);
|
@include opacity(0.8);
|
||||||
|
@include box-shadow(0,-1px,3px,rgba(0,0,0,0.3));
|
||||||
|
|
||||||
background-color : rgba(255,255,255,0.4);
|
background-color : rgba(255,255,255,0.8);
|
||||||
|
|
||||||
position : absolute;
|
position : absolute;
|
||||||
bottom : -30px;
|
bottom : -30px;
|
||||||
|
|
@ -118,6 +119,8 @@ body {
|
||||||
text-align : center;
|
text-align : center;
|
||||||
width : 100%;
|
width : 100%;
|
||||||
|
|
||||||
|
z-index : 30;
|
||||||
|
|
||||||
padding : 5px;
|
padding : 5px;
|
||||||
padding-right : 8px;
|
padding-right : 8px;
|
||||||
i {
|
i {
|
||||||
|
|
@ -212,6 +215,22 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.day:not(.sticky-note),
|
||||||
|
&.night:not(.sticky-note),
|
||||||
|
&.multi-photo:not(.sticky-note) {
|
||||||
|
.text-content {
|
||||||
|
@include opacity(1);
|
||||||
|
padding : 10px 20px;
|
||||||
|
font-size : 14px;
|
||||||
|
line-height : 18px;
|
||||||
|
color : #444;
|
||||||
|
|
||||||
|
p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.big-text {
|
&.big-text {
|
||||||
.text-content {
|
.text-content {
|
||||||
p {
|
p {
|
||||||
|
|
@ -254,15 +273,13 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.text-content {
|
.text-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
top: 40%;
|
top: 40%;
|
||||||
@include centered-frame();
|
@include centered-frame();
|
||||||
font-size: 3em;
|
font-size: 2em;
|
||||||
color: white;
|
color: white;
|
||||||
@include opacity(1);
|
@include opacity(1);
|
||||||
text-shadow : none;
|
text-shadow : none;
|
||||||
|
|
|
||||||
|
|
@ -7,3 +7,7 @@
|
||||||
body, p, h1, h2, h3, h4, h5, h6, textarea, input, * {
|
body, p, h1, h2, h3, h4, h5, h6, textarea, input, * {
|
||||||
font-family : Roboto, Helvetica, sans;
|
font-family : Roboto, Helvetica, sans;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
font-family : inherit;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue