Skip to content

Commit 92f43d9

Browse files
authored
Small typography mods and code styles
1 parent c5d4670 commit 92f43d9

File tree

1 file changed

+32
-27
lines changed

1 file changed

+32
-27
lines changed

src/assets/css/common.css

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ svg.logo {
176176

177177
.f-enter-desc {
178178
display: inline-block;
179-
margin-left: 0.6rem;
180-
margin-top: 0.6rem;
179+
margin-left: .6rem;
180+
margin-top: .6rem;
181181
}
182182

183183
.f-enter {
@@ -267,7 +267,7 @@ span.faux-form {
267267
line-height: 1.5;
268268
margin: 0 .6rem 0 0;
269269
outline: 0;
270-
padding: 0.32rem 0.4rem;
270+
padding: .32rem .4rem;
271271
font-size: 1.7rem;
272272
font-weight: 900;
273273
}
@@ -371,7 +371,7 @@ h2,
371371
font-weight: 900;
372372
font-size: 2.4rem;
373373
line-height: 1.34;
374-
padding-right: 4rem;
374+
padding-right: 3.8rem;
375375
margin-bottom: 20px;
376376
}
377377

@@ -443,8 +443,6 @@ p.description a.f-link {
443443
margin-right: 8px;
444444
}
445445

446-
447-
448446
/*f-radios (multiple-choice)*/
449447
ul.f-radios {
450448
margin: 0;
@@ -481,7 +479,7 @@ ul.f-radios li.f-other input[type=text] {
481479
.f-radios-desc,
482480
ul.f-radios li,
483481
ul.f-radios li input[type=text] {
484-
font-size: 0.94rem;
482+
font-size: .94rem;
485483
}
486484

487485
ul.f-radios li span.f-label {
@@ -567,17 +565,14 @@ a.f-disabled {
567565
margin-bottom: 30px;
568566
}
569567

570-
.section-wrap > div {
568+
.section-wrap > div,
569+
.f-submit {
571570
margin-bottom: 20px;
572571
}
573572

574573
.field-sectionbreaktype,
575574
.field-submittype {
576-
max-width: 760px;
577-
}
578-
579-
.f-submit {
580-
margin-bottom: 20px;
575+
max-width: 780px;
581576
}
582577

583578
/*
@@ -652,9 +647,9 @@ a.f-disabled {
652647
.v-form input[type=url],
653648
.v-form input[type=password],
654649
.v-form textarea {
655-
font-size: 1.2rem;
656-
line-height: 1.3;
657-
padding: 0.22rem 0.4rem;
650+
font-size: 1.3rem;
651+
line-height: 1.4;
652+
padding: .22rem .4rem;
658653
}
659654

660655
.v-form select {
@@ -671,15 +666,28 @@ a.f-disabled {
671666
width: 12px;
672667
}
673668

669+
span.f-sub,
674670
span.f-tagline,
675-
span.f-sub {
671+
.section-text,
672+
li,
673+
p,
674+
ul{
676675
font-size: 1.1rem;
677676
}
678677

679678
span.f-tagline {
680679
line-height: 1.6;
681680
}
682681

682+
span.f-text{
683+
margin-right: 0;
684+
}
685+
686+
h2,
687+
.fh2 {
688+
font-size: 1.5rem;
689+
}
690+
683691
ul.f-radios li,
684692
ul.f-radios li input[type=text] {
685693
font-size: .9rem;
@@ -691,7 +699,7 @@ a.f-disabled {
691699

692700
}
693701

694-
@media screen and (max-height:420px) {
702+
@media screen and (max-height:400px) {
695703
header {
696704
position: static;
697705
top: auto;
@@ -716,21 +724,18 @@ a.f-disabled {
716724
font-size: .86rem
717725
}
718726

719-
}
720-
721-
@media screen and (max-width:479px), (max-height:400px) {
722727
h2,
723728
.fh2 {
724729
font-size: 1.6rem;
725730
}
726731

727732
span.f-sub,
728-
span.f-tagline{
729-
font-size: 1rem;
730-
}
731-
732-
.section-text, li, p, ul {
733+
span.f-tagline,
734+
.section-text,
735+
li,
736+
p,
737+
ul{
733738
font-size: 1rem;
734739
}
735740

736-
}
741+
}

0 commit comments

Comments
 (0)