1
0
Fork 0
mirror of https://github.com/GuerillaStudio/vanillalist.git synced 2024-12-21 16:31:56 +00:00

Make site bigger

This commit is contained in:
Tixie 2023-03-26 01:34:15 +01:00
parent d29a45c55c
commit a40f8da287
9 changed files with 53 additions and 26 deletions

View file

@ -13,10 +13,10 @@ $btn-shadow: 0 .1rem .2rem #0f0f0f1a;
.btn { .btn {
display: inline-block; display: inline-block;
margin: 0; margin: 0;
padding: 1rem 2rem; padding: 1.3rem 2rem;
color: #fff; color: #fff;
font-weight: 500; font-weight: 500;
font-size: 1.4rem; font-size: 1.6rem;
line-height: 1.16em; line-height: 1.16em;
text-align: center; text-align: center;
text-decoration: none !important; text-decoration: none !important;
@ -103,7 +103,7 @@ $btn-shadow: 0 .1rem .2rem #0f0f0f1a;
// -------------------------------------------------------------- // --------------------------------------------------------------
.btn--big { .btn--big {
padding: 1.5rem 3rem; padding: 2.5rem 3rem;
font-size: 1.6rem; font-size: 1.8rem;
box-shadow: 0 .2rem .4rem #0f0f0f1a; box-shadow: 0 .2rem .4rem #0f0f0f1a;
} }

View file

@ -88,9 +88,9 @@ input {
max-width: 32rem; max-width: 32rem;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
padding: 1rem 1.5rem; padding: 1.3rem 1.6rem;
font-weight: 500; font-weight: 500;
font-size: 1.4rem; font-size: 1.6rem;
line-height: 1.14em; line-height: 1.14em;
background: $input-background-color; background: $input-background-color;
border: $input-border; border: $input-border;

View file

@ -23,7 +23,8 @@
.pagination__link, .pagination__link,
.pagination__link:link, .pagination__link:link,
.pagination__link:visited { .pagination__link:visited {
min-width: 4.4rem; min-width: 4.9rem;
padding: 1rem 1.3rem; padding: 1.3rem 1.6rem;
font-weight: normal; font-weight: normal;
font-size: 1.05em;
} }

View file

@ -11,7 +11,7 @@ body {
} }
.container { .container {
max-width: 102.4rem; max-width: 130.4rem;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
padding-right: 1rem; padding-right: 1rem;

View file

@ -4,7 +4,7 @@
.header { .header {
margin-bottom: 2rem; margin-bottom: 2rem;
padding: 6rem 0; padding: 5rem 0;
text-align: center; text-align: center;
border-top: 1rem solid $color-primary; border-top: 1rem solid $color-primary;
} }
@ -23,8 +23,8 @@
color: $color-primary; color: $color-primary;
font-weight: bold; font-weight: bold;
font-weight: 600; font-weight: 600;
font-size: 2.8rem; font-size: 4rem;
line-height: 1.33em; line-height: 1.2em;
letter-spacing: .015em; letter-spacing: .015em;
border-radius: .3rem; border-radius: .3rem;
} }
@ -36,7 +36,7 @@
.header__slogan { .header__slogan {
color: darken(desaturate($color-primary, 40), 7); color: darken(desaturate($color-primary, 40), 7);
font-size: 1.7rem; font-size: 2rem;
} }
// Search // Search

View file

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

View file

@ -19,25 +19,25 @@
margin: 2rem 0 1rem; margin: 2rem 0 1rem;
color: #36303e; color: #36303e;
font-weight: normal; font-weight: normal;
font-size: 1.4em; font-size: 1.3em;
line-height: 1.3em; line-height: 1.3em;
} }
.plugin__about { .plugin__about {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
color: #595959; color: #595959;
font-size: 1.4rem; font-size: .9em;
} }
.plugin__link, .plugin__link,
.plugin__link:link, .plugin__link:link,
.plugin__link:visited { .plugin__link:visited {
display: inline-block; display: inline-block;
margin-right: .6rem; margin-right: .4rem;
margin-bottom: .6rem; margin-bottom: .4rem;
padding: .6rem 1.5rem; padding: .8rem 1.6rem;
color: darken($color-primary, 20); color: darken($color-primary, 20);
font-size: 1.4rem; font-size: 1.6rem;
line-height: 1.16em; line-height: 1.16em;
text-align: center; text-align: center;
text-transform: capitalize; text-transform: capitalize;

View file

@ -1,8 +1,15 @@
@use "sass:math";
// ----------------------------------------------------------- // -----------------------------------------------------------
// == rwd -> xsmall // == rwd -> xsmall
// ----------------------------------------------------------- // -----------------------------------------------------------
@media (max-width: $xsmall) { // Header @media (max-width: $xsmall) {
body {
font-size: math.div(14, 10) + em;
}
// Header
// -------------------------------------------------------------- // --------------------------------------------------------------
.header { .header {
@ -13,7 +20,7 @@
font-size: 2.1rem; font-size: 2.1rem;
} }
.header_slogan { .header__slogan {
font-size: 1.5rem; font-size: 1.5rem;
} }
@ -25,6 +32,7 @@
.header__search input, .header__search input,
.header__search .btn { .header__search .btn {
padding: 1rem 1.5rem;
font-size: 1.6rem; font-size: 1.6rem;
} }
@ -35,7 +43,9 @@
.header__search .btn { .header__search .btn {
flex-shrink: 0; flex-shrink: 0;
margin-left: .3rem; margin-left: .3rem;
} // Plugins }
// Plugins
// -------------------------------------------------------------- // --------------------------------------------------------------
.pluginList { .pluginList {
@ -64,8 +74,24 @@
margin: 0; margin: 0;
margin-top: -.5rem; margin-top: -.5rem;
margin-bottom: .5rem; margin-bottom: .5rem;
font-size: 1.3em;
} // Pagination // font-size: 1em;
}
.plugin__about {
font-size: 1em;
}
.plugin__link,
.plugin__link:link,
.plugin__link:visited {
margin-right: .6rem;
margin-bottom: .6rem;
padding: .6rem 1.5rem;
font-size: 1.4rem;
}
// Pagination
// -------------------------------------------------------------- // --------------------------------------------------------------
.pagination { .pagination {

View file

@ -5,7 +5,7 @@
// base // base
// -------------------------------------------------------------- // --------------------------------------------------------------
$base-font : 15; // px value (without unit), will be converted in em $base-font : 18; // px value (without unit), will be converted in em
$line-height : 1.5; $line-height : 1.5;
$fontstack1 : "Helvetica Neue", helvetica, arial, sans-serif; $fontstack1 : "Helvetica Neue", helvetica, arial, sans-serif;