Use flewbox for content

This commit is contained in:
Tobias Reich 2015-04-06 16:23:23 +02:00
parent a5279fc42f
commit 06fba792b2
6 changed files with 6 additions and 6 deletions

BIN
dist/main.css vendored

Binary file not shown.

BIN
dist/main.js vendored

Binary file not shown.

BIN
dist/view.js vendored

Binary file not shown.

View File

@ -26,7 +26,7 @@ build.divider = function(title) {
var html = '';
html = `
<div class='divider fadeIn'>
<div class='divider'>
<h1>${ title }</h1>
</div>
`

View File

@ -4,7 +4,8 @@
#content {
position: absolute;
display: flex;
flex-wrap: wrap;
padding: 50px 0 33px;
width: 100%;
min-height: calc(100% - 83px);
@ -47,7 +48,7 @@
&.contentZoomOut .divider {
animation-name: fadeOut;
animation-duration: .3s;
animation-duration: .2s;
animation-fill-mode: forwards;
animation-timing-function: $timing;
}
@ -55,7 +56,6 @@
/* Albums and Photos ------------------------------------------------*/
.album,
.photo {
float: left;
position: relative;
width: 202px;
height: 202px;
@ -181,7 +181,6 @@
/* Divider ------------------------------------------------*/
.divider {
float: left;
margin: 50px 0 0;
padding: 10px 0 0;
width: 100%;
@ -196,7 +195,6 @@
}
h1 {
float: left;
margin: 0 0 0 30px;
color: white(.6);
font-size: 14px;

View File

@ -6,6 +6,8 @@
position: fixed;
display: none;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(10, 10, 10, .98);