aboutsummaryrefslogtreecommitdiff
path: root/app/scss/packagegrid.scss
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-04-21 19:18:06 +0100
committerrubenwardy <rw@rubenwardy.com>2020-04-21 19:18:06 +0100
commitb5ce0a786a1fac846e3de4e7dfe8ea4a27d81f2b (patch)
tree84f65aa842c7cd233145c9103e0dd578f04cb0df /app/scss/packagegrid.scss
parentd58579d30876aa47a5e73ffc14707bb752020302 (diff)
downloadcheatdb-b5ce0a786a1fac846e3de4e7dfe8ea4a27d81f2b.tar.xz
Improve legibility of textual content
Diffstat (limited to 'app/scss/packagegrid.scss')
-rw-r--r--app/scss/packagegrid.scss56
1 files changed, 32 insertions, 24 deletions
diff --git a/app/scss/packagegrid.scss b/app/scss/packagegrid.scss
index 0c29a26..e5f684b 100644
--- a/app/scss/packagegrid.scss
+++ b/app/scss/packagegrid.scss
@@ -38,35 +38,43 @@ li.d-flex {
bottom: 0;
left: 0;
padding: 1em;
-}
-.packagegridinfo h3 {
- color: white;
- font-size: 120%;
- font-weight: bold;
-}
+ h3 {
+ color: white;
+ font-size: 120%;
+ font-weight: bold;
+ margin: 0;
+ padding: 0;
+ }
-.packagegridinfo small {
- color: #ddd;
- font-size: 75%;
- font-weight: bold;
-}
+ small {
+ color: #ddd;
+ font-size: 75%;
+ font-weight: bold;
+ }
-.packagegridinfo p {
- display: none;
- color: #ddd;
- font-weight: normal;
+ p {
+ display: none;
+ color: #ddd;
+ font-weight: normal;
+ }
}
-.packagetile a:hover .packagegridinfo {
- top: 0;
-}
+.packagetile a:hover {
+ .packagegridinfo {
+ top: 0;
+ }
-.packagetile a:hover p {
- display: block;
-}
+ h3 {
+ margin-bottom: 0.5em;
+ }
+
+ p {
+ display: block;
+ }
-.packagetile a:hover .packagegridscrub {
- top: 0;
- background: rgba(0,0,0,0.8);
+ .packagegridscrub {
+ top: 0;
+ background: rgba(0,0,0,0.8);
+ }
}