stylesheet: improve the procedure description layout
This commit is contained in:
parent
9fbcf4313a
commit
1e63ee764a
2 changed files with 13 additions and 4 deletions
|
@ -23,14 +23,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.column {
|
.column {
|
||||||
padding: $two-columns-padding 0 $two-columns-padding 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
padding: ($default-padding * 2) 0 0 0;
|
||||||
|
|
||||||
|
&:last-of-type {
|
||||||
|
padding-bottom: $default-padding * 2;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: $two-columns-breakpoint) {
|
@media (min-width: $two-columns-breakpoint) {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding: $two-columns-padding 0 $two-columns-padding 0;
|
||||||
|
|
||||||
|
&:last-of-type {
|
||||||
|
padding-bottom: $two-columns-padding;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ $procedure-context-breakpoint: $two-columns-breakpoint;
|
||||||
|
|
||||||
.procedure-title {
|
.procedure-title {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
margin: 20px 0 0;
|
margin: 0 0 20px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@media (min-width: $procedure-context-breakpoint) {
|
@media (min-width: $procedure-context-breakpoint) {
|
||||||
|
@ -38,7 +38,7 @@ $procedure-context-breakpoint: $two-columns-breakpoint;
|
||||||
.procedure-description {
|
.procedure-description {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
||||||
p {
|
p:not(:last-of-type) {
|
||||||
margin-bottom: 2 * $default-spacer;
|
margin-bottom: 2 * $default-spacer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ $procedure-context-breakpoint: $two-columns-breakpoint;
|
||||||
img {
|
img {
|
||||||
max-height: 50px;
|
max-height: 50px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0 10px;
|
margin: 0 10px 20px 10px;
|
||||||
|
|
||||||
@media (min-width: $procedure-context-breakpoint) {
|
@media (min-width: $procedure-context-breakpoint) {
|
||||||
max-height: 130px;
|
max-height: 130px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue