From 011f0711b2f483825bccec47c1558b39b4c0d6c6 Mon Sep 17 00:00:00 2001 From: Austin Rolert Date: Mon, 11 Oct 2021 22:46:57 +0630 Subject: [PATCH] Add files via upload --- styles.css | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 styles.css diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..8ace8cf --- /dev/null +++ b/styles.css @@ -0,0 +1,173 @@ +*, +*::before, +*::after { + box-sizing: border-box; +} + + +/* custommization */ + +:root { + --ff--primary: 'Source Sans Pro', sans-serif; + --ff--secondary: 'Source Code Pro', monospace; + --ff--forunderline: 'Explora' + + --fw-reg: 300; + --fw--bold: 900; + + --clr-bg: #000000; + --clr-text: #ffffff; + --clr--accent: #0094f7; + + --fs-h1: 3rem; + --fs-h2: 2.25rem; + --fs-h3: 1.25rem; + --fs-body: 1rem; +} + +@media (min-width: 800px) { + :root { + --fs-h1: 4.5rem; + --fs-h2: 3.75rem; + --fs-h3: 1.5rem; + --fs-body: 1.125rem; + + } +} + +section { + padding: 5em 2em; +} + + + +/* general style */ +body { + background: var(--clr-bg); + color: var(--clr-dark); + margin: 0; + font-family: var(--ff--primary); + font-size: var(--fs-body); + line-height: 1.6; + +} + +img { + display: block; + max-width: 100% +} + +/* Typography */ + +h1,h2,h3 { + line-height: 1.1; + margin: 0; +} + +h1 { + font-size: var(--fs-h1); + color: var(--clr-text); +} + +h2 { + font-size: var(--fs-h2); + color: var(--clr-text); +} + +h3 { + font-size: var(--fs-h3); + color: var(--clr-text); +} + +p { + color: var(--clr-text); +} + +.section-title-intro { + margin-bottom: .25em; + + +} +.section-title-intro{ + + font-weight: var(--fw--reg); + +} +.section__subtitle { + margin: 0; + font-size: var(--fs-h3); + + +} + +.underlinename { + background: var(--clr--accent); + font-family: var(--ff--secondary); + margin-bottom: 1em; +} + +strong { + display: block; + font-weight: var(--fw--bold); + color: #bac8ff; +} + + +/* header */ + +nav { + display: none; + +} + + + + +/* intro section */ +.intro { + position: relative; + +} + +.fa { + padding: 20px; + font-size: 30px; + width: 50px; + text-align: center; + text-decoration: none; + border-radius: 20%; +} + +/* Hover effect */ +.fa:hover { + opacity: 0.7; + +} + +/* setting up specific color */ +.fa-facebook { + background: #3B5998; + color: white; +} + +/* twitter */ +.fa-twitter { + background: #55ACEE; + color: white; + } + +@media (main-width: 600px) { + .intro { + display: grid; + grid-template-areas: + "img title" + "img subtitle"; + grid-template-columns: min-content max-content; + + } + + #id { + grid-area: img; + min-width: 250px; + } +} \ No newline at end of file