mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Improved styles
This commit is contained in:
parent
49a076c6bc
commit
657c9d5480
3 changed files with 6 additions and 6 deletions
|
@ -26,14 +26,14 @@
|
|||
font-family: _font(family-heading);
|
||||
font-size: 0.6em;
|
||||
font-weight: _font(weight-heading-bold);
|
||||
height: _size(element-height) * 1.75;
|
||||
height: auto;
|
||||
letter-spacing: _font(kerning-heading);
|
||||
line-height: _size(element-height) * 1.75;
|
||||
line-height: _size(element-height) * 1.5;
|
||||
padding: 0 2.5em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
white-space: normal;
|
||||
|
||||
&:hover {
|
||||
box-shadow: inset 0 0 0 1px _palette(accent);
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
|
||||
}
|
||||
|
||||
@include breakpoint('<=small') {
|
||||
@include breakpoint('<=xsmall') {
|
||||
> .image.featured {
|
||||
margin-left: _size(section-spacing-small) * -1;
|
||||
margin-top: calc(#{_size(section-spacing-small) * -1} - 1px);
|
||||
|
|
|
@ -48,10 +48,10 @@
|
|||
$important: '!important';
|
||||
}
|
||||
|
||||
$x: 0.1em;
|
||||
$x: 0.5em;
|
||||
|
||||
@if unit(_size(element-margin)) == 'rem' {
|
||||
$x: 0.1rem;
|
||||
$x: 0.5rem;
|
||||
}
|
||||
|
||||
padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
|
||||
|
|
Loading…
Add table
Reference in a new issue