46193ab5fe
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later with some specific files to be licensed under the one of two licenses: CC0-1.0 LGPL-3.0-or-later This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
61 lines
1.1 KiB
SCSS
61 lines
1.1 KiB
SCSS
/* License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later */
|
|
@import 'mixins';
|
|
|
|
body {
|
|
padding: 0;
|
|
}
|
|
|
|
.explore-header {
|
|
background: #f6f6f6;
|
|
width: 100%;
|
|
position: relative;
|
|
text-align: center;
|
|
|
|
&:before {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background: $mosaic;
|
|
height: 4px;
|
|
}
|
|
}
|
|
|
|
|
|
.pastelBox--grey--dark:hover {
|
|
@include box-shadow(2px 2px 5px 0 rgba(black, 0.1));
|
|
@include transform(translateY(-1px));
|
|
@include transition(all, 0.1s, ease);
|
|
}
|
|
.pastelBox--grey--dark img {
|
|
background-color: white;
|
|
}
|
|
|
|
// this strange looking CSS configures the masonry layout,
|
|
// see http://salvattore.com/ for reference
|
|
.masonry-column {
|
|
float: left;
|
|
}
|
|
.size-1of3 {
|
|
width: 33.33333%;
|
|
}
|
|
.size-1of2 {
|
|
width: 50%;
|
|
}
|
|
.size-1of1 {
|
|
width: 100%;
|
|
}
|
|
#masonry-grid[data-columns]::before {
|
|
content: '3 .masonry-column.size-1of3';
|
|
}
|
|
@media screen and (max-width: 900px) {
|
|
#masonry-grid[data-columns]::before {
|
|
content: '2 .masonry-column.size-1of2';
|
|
}
|
|
}
|
|
@media screen and (max-width: 500px) {
|
|
#masonry-grid[data-columns]::before {
|
|
content: '1 .masonry-column.size-1of1';
|
|
}
|
|
}
|