Homepage content
This commit is contained in:
32
style.css
32
style.css
@@ -7,6 +7,7 @@
|
||||
--primary: #9290C3;
|
||||
--secondary: #535C91;
|
||||
--highlight: #1B1A55;
|
||||
--click-me: pink;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -16,11 +17,21 @@ body {
|
||||
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
}
|
||||
|
||||
/* Common */
|
||||
|
||||
a {
|
||||
color: var(--click-me);
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
|
||||
nav {
|
||||
/* display: flex; */
|
||||
/* flex-direction: row; */
|
||||
border-radius: 1rem;
|
||||
background-color: var(--highlight);
|
||||
margin: 1rem;
|
||||
@@ -36,7 +47,7 @@ nav {
|
||||
.nav-links > a {
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
color: var(--primarxy);
|
||||
color: var(--primary);
|
||||
text-decoration: none;
|
||||
font-size: large;
|
||||
}
|
||||
@@ -55,4 +66,19 @@ nav {
|
||||
|
||||
.nav-logo > img {
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
/* Content */
|
||||
|
||||
main {
|
||||
max-width: 50rem;
|
||||
margin: 0 auto;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.section-image {
|
||||
width: 100%;
|
||||
height: 10rem;
|
||||
border-radius: 0.75rem;
|
||||
object-fit: cover;
|
||||
}
|
||||
Reference in New Issue
Block a user