Add styling for the title if it will be a link as well

The title in the cards are now optionally clickable. If the `url`
attribute is passed to the square in the config then the title will be
clickable and will open that particular `url`.

If not `url` is passed, it will be a plain old heading without any
link.
This commit is contained in:
Deepjyoti Barman
2020-11-30 13:25:28 +05:30
parent 53198646bb
commit dc818bd2b5
2 changed files with 8 additions and 0 deletions

View File

@@ -97,6 +97,9 @@ body {
.main #other-content .sqr h4 {
font-size: 18px;
margin: 15px; }
.main #other-content .sqr h4 a {
color: inherit;
font-size: inherit; }
.main #other-content .sqr:hover {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }

View File

@@ -143,6 +143,11 @@ body {
h4 {
font-size: 18px;
margin: 15px;
a {
color: inherit;
font-size: inherit;
}
}
&:hover {