mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
Masonry grid testing.
This commit is contained in:
parent
0c3f2d4eaf
commit
4051e60007
@ -4,6 +4,26 @@ html {
|
||||
font-size:1em;
|
||||
}
|
||||
|
||||
/*#content div:nth-child(4n+1) {
|
||||
grid-column-end: span 2;
|
||||
grid-row-end: span 2;
|
||||
}
|
||||
#content div:nth-child(2) {
|
||||
grid-column: 3;
|
||||
grid-row: 2 / 4;
|
||||
}
|
||||
#content div:nth-child(5) {
|
||||
grid-column: 1 / 3;
|
||||
grid-row: 1 / 3;
|
||||
}*/
|
||||
#content {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
grid-auto-rows: 100px;
|
||||
grid-gap: 10px;
|
||||
grid-auto-flow: dense;
|
||||
}
|
||||
|
||||
/* LINK */
|
||||
a {
|
||||
color:#000;
|
||||
@ -20,9 +40,9 @@ a#urlseen {
|
||||
#entry, #entryImportant {
|
||||
color:#000;
|
||||
background:#999;
|
||||
margin-bottom:1em;
|
||||
padding:0.5em;
|
||||
min-height:2.4em;
|
||||
float:left;
|
||||
}
|
||||
#entryImportant {
|
||||
color:#DCDCDC;
|
||||
|
Loading…
Reference in New Issue
Block a user