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:
@@ -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); }
|
||||
|
||||
@@ -143,6 +143,11 @@ body {
|
||||
h4 {
|
||||
font-size: 18px;
|
||||
margin: 15px;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
Reference in New Issue
Block a user