Ghost_Ruby_Theme/assets/css/misc/utilities.css
Sodbileg Gansukh 6350a2de33 Migration (#98)
* Add Alto theme

* Remove unnecessary specificity from link hover selector

* Add Dope theme

* Refine Dope theme

* Remove unnecessary selectors from dark mode styles

* Add Ruby theme

* Add branding+navigation header style

* Post/page template cleanup for Ruby theme

* Remove jQuery dependency from Ruby

* Photoswipe for Ruby

* package.json cleanup

* Add Ease theme

* Ease theme cleanup

* Add Edge theme

* Add callback to pagination script

* Rebuild assets

* Refresh Wave

* Wave theme pagination

* Remove unused settings

* Add tag/author pages to Wave

* Remove unnecessary dependencies

* Post meta spacing

* Dawn theme

* Edition theme

* Cleanup body class

* Lint

* More cleanup

* London theme

* Ease theme search cleanup

* Minor bug fixes

* Remove jQuery dependency from the custom search script

* Put back commented functions

* Update posts per page to make it consistent with homepage section posts

* Alto theme update

* Rebuild assets

* Remove unused theme setting

* Unnecessary rule

* Start adding search support

* Search support to more themes

* Remove starter

* Add Alto theme workflow
2022-07-12 20:09:02 +08:00

44 lines
689 B
CSS

.u-shadow {
overflow: hidden;
border-radius: 8px;
box-shadow: var(--shadow-base);
transition: box-shadow 0.3s var(--animation-base);
}
.u-shadow:hover {
box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
}
.u-placeholder {
position: relative;
z-index: 10;
background-color: var(--light-gray-color);
}
.u-placeholder.same-height {
height: 0;
}
.u-placeholder.rectangle {
padding-bottom: 56.25%;
}
.u-object-fit {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.u-permalink {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
outline: none;
}