Skip to content

Commit

Permalink
Altered styling via second css file
Browse files Browse the repository at this point in the history
  • Loading branch information
whytheq committed Jul 5, 2023
1 parent 1b2af9a commit 0101bd4
Show file tree
Hide file tree
Showing 7 changed files with 90 additions and 21 deletions.
Binary file removed assets/study.jpg
Binary file not shown.
13 changes: 9 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
body {
/* body {
background-color: black;
color: white;
text-align: center;
/* change all font to Open Sans */
font-family: 'Open Sans', sans-serif;
} */
body {
background-image: url("../assets/pixels.jpg");
background-repeat: no-repeat;
background-size: cover;
text-align: center;
/* change all font to Open Sans */
font-family: "Open Sans", sans-serif;
}
8 changes: 8 additions & 0 deletions css/style_samples.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
h1 {
font-size: 60px;
font-weight: 700;
color: #fff;
text-shadow: 0 0 10px #000;
margin: 0;
padding: 0;
}
33 changes: 16 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<head>
<meta charset="UTF-8" />
<title>Code Samples</title>
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" href="css/style.css">
</head>
<meta
http-equiv="cache-control"
content="no-cache, no-store, must-revalidate"
/>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<link rel="stylesheet" href="css/style.css" />
</head>

<body>
<body>
<h1>Code Samples</h1>
<p>Things I've found about the following technology:</p>
<ul>
<li><a href="/samples/html.html" target="_blank">HTML</a></li>
<li><a href="/samples/css.html" target="_blank">CSS</a></li>
<li><a href="/samples/powershell.html" target="_blank">Powershell</a></li>
<li><a href="/samples/html.html" target="_blank">HTML</a></li>
<li><a href="/samples/css.html" target="_blank">CSS</a></li>
<li><a href="/samples/powershell.html" target="_blank">Powershell</a></li>
</ul>


<img src="/assets/pixels.jpg" alt="A picture of geometric coloured dots" width="600">

</html>
</body>
</html>
19 changes: 19 additions & 0 deletions samples/css.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>CSS Samples</title>
<meta
http-equiv="cache-control"
content="no-cache, no-store, must-revalidate"
/>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<link rel="stylesheet" href="../css/style.css" />
<link rel="stylesheet" href="../css/style_samples.css" />
</head>

<body>
<h1>CSS Samples</h1>
</body>
</html>
19 changes: 19 additions & 0 deletions samples/html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>HTML Samples</title>
<meta
http-equiv="cache-control"
content="no-cache, no-store, must-revalidate"
/>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<link rel="stylesheet" href="../css/style.css" />
<link rel="stylesheet" href="../css/style_samples.css" />
</head>

<body>
<h1>HTML Samples</h1>
</body>
</html>
19 changes: 19 additions & 0 deletions samples/powershell.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Posh Samples</title>
<meta
http-equiv="cache-control"
content="no-cache, no-store, must-revalidate"
/>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<link rel="stylesheet" href="../css/style.css" />
<link rel="stylesheet" href="../css/style_samples.css" />
</head>

<body>
<h1>Posh Samples</h1>
</body>
</html>

0 comments on commit 0101bd4

Please sign in to comment.