Skip to content

Commit

Permalink
added styles folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Lelseac committed Oct 9, 2024
1 parent 72df427 commit 41b17e6
Show file tree
Hide file tree
Showing 6 changed files with 305 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Chelsea Long</title>
<meta name="Chelsea Long" content="Hey!">
<!-- <link rel="stylesheet" href="styles/simple-grid.css"> -->
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="https://use.typekit.net/mif5efa.css">
<link rel="stylesheet" href="https://use.typekit.net/mif5efa.css">
<link rel="stylesheet" href="https://use.typekit.net/mif5efa.css">
Expand Down
Binary file added styles/JeffBrandes.webp
Binary file not shown.
Binary file added styles/RonDeSantis.webp
Binary file not shown.
Binary file added styles/SouthDakota.webp
Binary file not shown.
130 changes: 130 additions & 0 deletions styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
html, body {
font-size: 20px;
line-height: 1.3;
font-weight: 400;
font-family: "input-mono", monospace;
background-color: white;
margin: 1rem;
color: black;
}

main {
max-width: 800px;
margin: 0 auto;
}

nav ul {
font: "input-mono", monospace;
font-weight: 800;
list-style-type: none;
margin: 0.5rem;
padding: 0.5rem;
text-align: right;
}

nav li {
display: inline-block;
padding: 0;
font-size: 1rem;
}

nav a {
color: black;
text-decoration: underline;
padding: 0;
}

nav a:hover {
color: rgb(0, 21, 253);
text-decoration: underline;
}

h1 {
font-size: 2rem;
font-weight: 800;
}

h2 {
font-size: 1.5rem;
}

a {
color: black;
text-decoration: underline;
}

a:hover {
color: rgb(0, 21, 253);
text-decoration: underline;
}

figure {
margin: 0;
}

figcaption {
font: 0.5rem;
font-weight: 300;
line-height: 1.3;
margin: 1rem;
color: black;
}

.highlight {
font-style: normal;
padding: 0 5px;
font-weight: 800;
background-color: yellowgreen;
}

.highlight a {
color: black;
text-decoration: underline;
padding: 0;
}

.highlight a:hover {
color: rgb(0, 21, 253);
text-decoration: underline;
}

img {
width: 100%;

}
article {
border-bottom: 1px solid black;
margin-bottom: 1rem;
clear: both;
overflow: hidden;
}

article a {
display: block;
text-decoration: none;
cursor: pointer;
}

article a:hover {
text-decoration: none;
}

article a:hover img {
/* filter: hue-rotate(90deg) saturate(200%) contrast(200%); */
filter: grayscale(100%);
}

.floatLeft figcaption {
font-size: 10px;
font-style: italic;
margin: 0;
}

@media (min-width: 850px) {
.floatLeft {
float: left;
width: 50%;
margin: 1rem 1rem 1rem 0;
}
}

174 changes: 174 additions & 0 deletions styles/simple-grid.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
/**
*** SIMPLE GRID
*** (C) ZACH COLE 2016
***
*** Modified by Soo Oh 2022
**/

html,
body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
left: 0;
top: 0;
font-size: 100%;
}

.container {
width: 90%;
margin-left: auto;
margin-right: auto;
}

.row {
position: relative;
width: 100%;
}

.row [class^="col"] {
float: left;
margin: 0.5rem 2%;
min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
width: 96%;
}

.col-1-sm {
width: 4.33%;
}

.col-2-sm {
width: 12.66%;
}

.col-3-sm {
width: 21%;
}

.col-4-sm {
width: 29.33%;
}

.col-5-sm {
width: 37.66%;
}

.col-6-sm {
width: 46%;
}

.col-7-sm {
width: 54.33%;
}

.col-8-sm {
width: 62.66%;
}

.col-9-sm {
width: 71%;
}

.col-10-sm {
width: 79.33%;
}

.col-11-sm {
width: 87.66%;
}

.col-12-sm {
width: 96%;
}

.row::after {
content: "";
display: table;
clear: both;
}

.hidden-sm {
display: none;
}

@media only screen and (min-width: 33.75em) { /* 540px */
.container {
width: 80%;
}
}

@media only screen and (min-width: 45em) { /* 720px */
.col-1 {
width: 4.33%;
}

.col-2 {
width: 12.66%;
}

.col-3 {
width: 21%;
}

.col-4 {
width: 29.33%;
}

.col-5 {
width: 37.66%;
}

.col-6 {
width: 46%;
}

.col-7 {
width: 54.33%;
}

.col-8 {
width: 62.66%;
}

.col-9 {
width: 71%;
}

.col-10 {
width: 79.33%;
}

.col-11 {
width: 87.66%;
}

.col-12 {
width: 96%;
}

.hidden-sm {
display: block;
}
}

@media only screen and (min-width: 60em) { /* 960px */
.container {
width: 75%;
max-width: 60rem;
}
}

0 comments on commit 41b17e6

Please sign in to comment.