things look much better to me, adjusted font size and a few things that were not showing correctly

This commit is contained in:
brittneypostma
2021-09-01 12:33:43 -04:00
parent 5e44cab8c5
commit 4a41da4e2b
7 changed files with 24 additions and 20 deletions

View File

@@ -6,12 +6,14 @@
<style>
div {
font-size: 1rem;
border: 2px solid #7e7e93;
border-radius: 5px;
background-color: white;
color: #7e7e93;
display: flex;
align-items: center;
justify-content: space-between;
padding: 5px 15px;
position: relative;
}
@@ -33,13 +35,14 @@
background-color: #7e7e93;
}
div:hover .arrow {
background-color: var(--color);
background-color: #7e7e93;
}
.arrow.active {
background-color: var(--color-secondary);
background-color: #7e7e93;
}
.popin {
font-size: 1rem;
display: none;
position: absolute;
left: calc(100% - 1em);

View File

@@ -27,7 +27,7 @@
background-color: var(--accent);
color: var(--white);
padding: var(--s-8);
font-size: var(--font-100);
font-size: var(--font-200);
}
.container {
display: grid;

View File

@@ -16,7 +16,7 @@
text-decoration: none;
color: var(--inherit);
transition: border-bottom .2s;
font-size: var(--font-100);
font-size: var(--font-200);
}
a.nav-item {

View File

@@ -46,13 +46,13 @@
--font-code: 'Fira Mono', monospace;
/************FONT SIZES***************/
--font-100: clamp(0.9894rem, 0.9072rem + 0.411vw, 1.2rem);
--font-200: clamp(1.1875rem, 1.0655rem + 0.6098vw, 1.5rem);
--font-300: clamp(1.425rem, 1.2494rem + 0.878vw, 1.875rem);
--font-400: clamp(1.71rem, 1.4627rem + 1.2366vw, 2.3438rem);
--font-500: clamp(2.0519rem, 1.7092rem + 1.7134vw, 2.93rem);
--font-600: clamp(2.4625rem, 1.9945rem + 2.3402vw, 3.6619rem);
--font-700: clamp(2.955rem, 2.3218rem + 3.1659vw, 4.5775rem);
--font-100: 0.75rem;
--font-200: clamp(1rem, 1.0655rem + 0.6098vw, 1.25rem);
--font-300: clamp(1.25rem, 1.2494rem + 0.878vw, 1.333rem);
--font-400: clamp(1.5rem, 1.4627rem + 1.2366vw, 1.777rem);
--font-500: clamp(2.0519rem, 1.7092rem + 1.7134vw, 2.369rem);
--font-600: clamp(2.4625rem, 1.9945rem + 2.3402vw, 3.157rem);
--font-700: clamp(2.955rem, 2.3218rem + 3.1659vw, 4.209rem);
/* ************SPACING AND SIZES************ */
--s-0: 0px;

View File

@@ -43,11 +43,8 @@
.card {
box-shadow: var(--shadow-dreamy);
background: var(--white);
width: fit-content;
border-radius: 10px;
margin-left: 10px;
margin-bottom: 10px;
flex: 1;
flex: 0 1 30%;
}
.title {
background-color: var(--secondary);
@@ -71,7 +68,7 @@
width: var(--s-5);
height: var(--s-5);
border-radius: 50%;
background-color: var(--link-color);
background-color: var(--primary);
box-shadow: 25px 0 0 0 var(--caution), 50px 0 0 0 var(--success);
margin-right: 50px;
margin-left: 20px;

View File

@@ -23,8 +23,8 @@
main {
display: flex;
flex-wrap: wrap;
align-items: stretch;
justify-items: stretch;
row-gap: var(--s-5);
column-gap: var(--s-10);
gap: var(--s-10);
}
</style>

View File

@@ -13,8 +13,8 @@
<title>Home - Svelte Society</title>
</svelte:head>
<h1 class="text-center">Welcome to Svelte Society!</h1>
<article>
<article class="container">
<h1 class="text-center">Welcome to Svelte Society!</h1>
<section>
<p>
We are a volunteer global network of Svelte fans that strive to promote Svelte and its
@@ -63,9 +63,13 @@
<style>
article{
max-width: 1024px;
display: grid;
gap: var(--s-20);
}
h1 {
margin: 0;
}
section {
display: grid;
gap: var(--s-5);