mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-29 06:38:54 +00:00
Improved styles
This commit is contained in:
parent
657c9d5480
commit
05c3473457
3 changed files with 17 additions and 8 deletions
|
@ -1479,14 +1479,14 @@ button,
|
||||||
font-family: "Raleway", Helvetica, sans-serif;
|
font-family: "Raleway", Helvetica, sans-serif;
|
||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
height: 4.8125em;
|
height: auto;
|
||||||
letter-spacing: 0.25em;
|
letter-spacing: 0.25em;
|
||||||
line-height: 4.8125em;
|
line-height: 4.125em;
|
||||||
padding: 0 2.5em;
|
padding: 0 2.5em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
white-space: nowrap;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
input[type=submit]:hover,
|
input[type=submit]:hover,
|
||||||
input[type=reset]:hover,
|
input[type=reset]:hover,
|
||||||
|
@ -2175,7 +2175,7 @@ ul.posts article header > :last-child {
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
}
|
}
|
||||||
.mini-post header {
|
.mini-post header {
|
||||||
padding: 1.25em 4.25em 0.1em 1.25em;
|
padding: 1.25em 4.25em 0.5em 1.25em;
|
||||||
min-height: 4em;
|
min-height: 4em;
|
||||||
position: relative;
|
position: relative;
|
||||||
-moz-flex-grow: 1;
|
-moz-flex-grow: 1;
|
||||||
|
@ -2454,7 +2454,7 @@ ul.posts article header > :last-child {
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 736px) {
|
@media screen and (max-width: 736px) {
|
||||||
.post {
|
.post {
|
||||||
padding: 1.5em 1.5em 0.1em 1.5em;
|
padding: 1.5em 1.5em 0.5em 1.5em;
|
||||||
left: -1.5em;
|
left: -1.5em;
|
||||||
margin: 0 0 2em 0;
|
margin: 0 0 2em 0;
|
||||||
width: calc(100% + (1.5em * 2));
|
width: calc(100% + (1.5em * 2));
|
||||||
|
@ -2978,7 +2978,7 @@ ul.subitem_hide > li {
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 736px) {
|
@media screen and (max-width: 736px) {
|
||||||
.heading {
|
.heading {
|
||||||
padding: 1.5em 1.5em 0.1em 1.5em;
|
padding: 1.5em 1.5em 0.5em 1.5em;
|
||||||
left: -1.5em;
|
left: -1.5em;
|
||||||
margin: 0 0 2em 0;
|
margin: 0 0 2em 0;
|
||||||
width: calc(100% + (1.5em * 2));
|
width: calc(100% + (1.5em * 2));
|
||||||
|
@ -2987,7 +2987,7 @@ ul.subitem_hide > li {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 736px) {
|
@media screen and (max-width: 480px) {
|
||||||
.heading > .image.featured {
|
.heading > .image.featured {
|
||||||
margin-left: -1.5em;
|
margin-left: -1.5em;
|
||||||
margin-top: calc(-1.5em - 1px);
|
margin-top: calc(-1.5em - 1px);
|
||||||
|
|
2
assets/css/main.min.css
vendored
2
assets/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -39,6 +39,9 @@
|
||||||
|
|
||||||
/* Styles for Langswitcher plugin */
|
/* Styles for Langswitcher plugin */
|
||||||
|
|
||||||
|
#header .main ul li.langswitcher {
|
||||||
|
margin-left: 0em !important;
|
||||||
|
}
|
||||||
#header .main ul li.langswitcher > a {
|
#header .main ul li.langswitcher > a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
|
@ -100,3 +103,9 @@
|
||||||
|
|
||||||
/* Styles modified from Breadcrumbs */
|
/* Styles modified from Breadcrumbs */
|
||||||
/* Included in headings.scss */
|
/* Included in headings.scss */
|
||||||
|
|
||||||
|
/* Styles for Login plugin */
|
||||||
|
|
||||||
|
@media screen and (max-width: 736px) {
|
||||||
|
#header .main ul li.login-logout {
|
||||||
|
display: none; } }
|
Loading…
Add table
Reference in a new issue