Skip to content

Commit a40f8da

Browse files
committed
Make site bigger
1 parent d29a45c commit a40f8da

File tree

9 files changed

+53
-26
lines changed

9 files changed

+53
-26
lines changed

src/sass/3-components/_buttons.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ $btn-shadow: 0 .1rem .2rem #0f0f0f1a;
1313
.btn {
1414
display: inline-block;
1515
margin: 0;
16-
padding: 1rem 2rem;
16+
padding: 1.3rem 2rem;
1717
color: #fff;
1818
font-weight: 500;
19-
font-size: 1.4rem;
19+
font-size: 1.6rem;
2020
line-height: 1.16em;
2121
text-align: center;
2222
text-decoration: none !important;
@@ -103,7 +103,7 @@ $btn-shadow: 0 .1rem .2rem #0f0f0f1a;
103103
// --------------------------------------------------------------
104104

105105
.btn--big {
106-
padding: 1.5rem 3rem;
107-
font-size: 1.6rem;
106+
padding: 2.5rem 3rem;
107+
font-size: 1.8rem;
108108
box-shadow: 0 .2rem .4rem #0f0f0f1a;
109109
}

src/sass/3-components/_forms.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ input {
8888
max-width: 32rem;
8989
margin-top: 0;
9090
margin-bottom: 0;
91-
padding: 1rem 1.5rem;
91+
padding: 1.3rem 1.6rem;
9292
font-weight: 500;
93-
font-size: 1.4rem;
93+
font-size: 1.6rem;
9494
line-height: 1.14em;
9595
background: $input-background-color;
9696
border: $input-border;

src/sass/3-components/_pagination.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
.pagination__link,
2424
.pagination__link:link,
2525
.pagination__link:visited {
26-
min-width: 4.4rem;
27-
padding: 1rem 1.3rem;
26+
min-width: 4.9rem;
27+
padding: 1.3rem 1.6rem;
2828
font-weight: normal;
29+
font-size: 1.05em;
2930
}

src/sass/4-base/_04-main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body {
1111
}
1212

1313
.container {
14-
max-width: 102.4rem;
14+
max-width: 130.4rem;
1515
margin-right: auto;
1616
margin-left: auto;
1717
padding-right: 1rem;

src/sass/4-base/_06-header.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
.header {
66
margin-bottom: 2rem;
7-
padding: 6rem 0;
7+
padding: 5rem 0;
88
text-align: center;
99
border-top: 1rem solid $color-primary;
1010
}
@@ -23,8 +23,8 @@
2323
color: $color-primary;
2424
font-weight: bold;
2525
font-weight: 600;
26-
font-size: 2.8rem;
27-
line-height: 1.33em;
26+
font-size: 4rem;
27+
line-height: 1.2em;
2828
letter-spacing: .015em;
2929
border-radius: .3rem;
3030
}
@@ -36,7 +36,7 @@
3636

3737
.header__slogan {
3838
color: darken(desaturate($color-primary, 40), 7);
39-
font-size: 1.7rem;
39+
font-size: 2rem;
4040
}
4141

4242
// Search

src/sass/5-modules/plugin-list.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
.pluginList {
66
display: grid;
7-
grid-template-columns: repeat(auto-fill, minmax(min(25rem, 100%), 1fr));
7+
grid-template-columns: repeat(auto-fill, minmax(min(27rem, 100%), 1fr));
88
gap: 4rem;
99
row-gap: 6rem;
1010
margin-bottom: 6rem;

src/sass/5-modules/plugin.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@
1919
margin: 2rem 0 1rem;
2020
color: #36303e;
2121
font-weight: normal;
22-
font-size: 1.4em;
22+
font-size: 1.3em;
2323
line-height: 1.3em;
2424
}
2525

2626
.plugin__about {
2727
margin-bottom: 1.5rem;
2828
color: #595959;
29-
font-size: 1.4rem;
29+
font-size: .9em;
3030
}
3131

3232
.plugin__link,
3333
.plugin__link:link,
3434
.plugin__link:visited {
3535
display: inline-block;
36-
margin-right: .6rem;
37-
margin-bottom: .6rem;
38-
padding: .6rem 1.5rem;
36+
margin-right: .4rem;
37+
margin-bottom: .4rem;
38+
padding: .8rem 1.6rem;
3939
color: darken($color-primary, 20);
40-
font-size: 1.4rem;
40+
font-size: 1.6rem;
4141
line-height: 1.16em;
4242
text-align: center;
4343
text-transform: capitalize;

src/sass/8-rwd/_rwd-xsmall.scss

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
@use "sass:math";
2+
13
// -----------------------------------------------------------
24
// == rwd -> xsmall
35
// -----------------------------------------------------------
46

5-
@media (max-width: $xsmall) { // Header
7+
@media (max-width: $xsmall) {
8+
body {
9+
font-size: math.div(14, 10) + em;
10+
}
11+
12+
// Header
613
// --------------------------------------------------------------
714

815
.header {
@@ -13,7 +20,7 @@
1320
font-size: 2.1rem;
1421
}
1522

16-
.header_slogan {
23+
.header__slogan {
1724
font-size: 1.5rem;
1825
}
1926

@@ -25,6 +32,7 @@
2532

2633
.header__search input,
2734
.header__search .btn {
35+
padding: 1rem 1.5rem;
2836
font-size: 1.6rem;
2937
}
3038

@@ -35,7 +43,9 @@
3543
.header__search .btn {
3644
flex-shrink: 0;
3745
margin-left: .3rem;
38-
} // Plugins
46+
}
47+
48+
// Plugins
3949
// --------------------------------------------------------------
4050

4151
.pluginList {
@@ -64,8 +74,24 @@
6474
margin: 0;
6575
margin-top: -.5rem;
6676
margin-bottom: .5rem;
67-
font-size: 1.3em;
68-
} // Pagination
77+
78+
// font-size: 1em;
79+
}
80+
81+
.plugin__about {
82+
font-size: 1em;
83+
}
84+
85+
.plugin__link,
86+
.plugin__link:link,
87+
.plugin__link:visited {
88+
margin-right: .6rem;
89+
margin-bottom: .6rem;
90+
padding: .6rem 1.5rem;
91+
font-size: 1.4rem;
92+
}
93+
94+
// Pagination
6995
// --------------------------------------------------------------
7096

7197
.pagination {

src/sass/_config.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// base
66
// --------------------------------------------------------------
77

8-
$base-font : 15; // px value (without unit), will be converted in em
8+
$base-font : 18; // px value (without unit), will be converted in em
99
$line-height : 1.5;
1010

1111
$fontstack1 : "Helvetica Neue", helvetica, arial, sans-serif;

0 commit comments

Comments
 (0)