fix(styling): copy module link color and other small stuff

This commit is contained in:
Benedikt Rötsch
2017-10-06 16:58:31 +02:00
committed by Benedikt Rötsch
parent d75464dd77
commit 613a790d9e
4 changed files with 27 additions and 0 deletions

View File

@@ -25,3 +25,9 @@ p, label, .form-item {
} }
} }
} }
p {
&:last-child {
margin-bottom: 0;
}
}

View File

@@ -8,6 +8,13 @@
border-radius: var(--border-radius); border-radius: var(--border-radius);
color: var(--module-copy-emphasized-color); color: var(--module-copy-emphasized-color);
& a {
color: inherit;
&:hover {
color: #fff;
}
}
@media (--breakpoint-desktop) { @media (--breakpoint-desktop) {
flex-wrap: nowrap; flex-wrap: nowrap;
} }

View File

@@ -3,6 +3,7 @@
position: relative; position: relative;
overflow: hidden; overflow: hidden;
height: 50vh; height: 50vh;
min-height: 250px;
max-height: 500px; max-height: 500px;
border-radius: var(--border-radius); border-radius: var(--border-radius);
background-size: cover; background-size: cover;

View File

@@ -524,6 +524,10 @@ p a:hover, label a:hover, .form-item a:hover {
text-decoration: underline; text-decoration: underline;
} }
p:last-child {
margin-bottom: 0;
}
/* Based on FormHack v1.2.0 (formhack.io) */ /* Based on FormHack v1.2.0 (formhack.io) */
/* But with some custom modifications */ /* But with some custom modifications */
@@ -1866,6 +1870,14 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
color: #c3cfd5; color: #c3cfd5;
} }
.module-copy--emphasized a {
color: inherit;
}
.module-copy--emphasized a:hover {
color: #fff;
}
@media (min-width: 700px) { @media (min-width: 700px) {
.module-copy--emphasized { .module-copy--emphasized {
@@ -1988,6 +2000,7 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
position: relative; position: relative;
overflow: hidden; overflow: hidden;
height: 50vh; height: 50vh;
min-height: 250px;
max-height: 500px; max-height: 500px;
border-radius: 4px; border-radius: 4px;
background-size: cover; background-size: cover;