summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Kim <snakeisaac@gmail.com>2022-08-24 07:34:34 -0700
committerIsaac Kim <snakeisaac@gmail.com>2022-08-24 07:34:34 -0700
commit83f713b59bff34c6c30d396e1cfb8d1e3036f2f1 (patch)
treeeff04545a15c69e51a5294dba4fdd32c29666a11
Initial commit
-rw-r--r--css/reset.css48
-rw-r--r--css/style.css37
-rw-r--r--images/favicon.pngbin0 -> 59624 bytes
-rw-r--r--index.html19
4 files changed, 104 insertions, 0 deletions
diff --git a/css/reset.css b/css/reset.css
new file mode 100644
index 0000000..af94440
--- /dev/null
+++ b/css/reset.css
@@ -0,0 +1,48 @@
+/* http://meyerweb.com/eric/tools/css/reset/
+ v2.0 | 20110126
+ License: none (public domain)
+*/
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
+}
+body {
+ line-height: 1;
+}
+ol, ul {
+ list-style: none;
+}
+blockquote, q {
+ quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: '';
+ content: none;
+}
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+} \ No newline at end of file
diff --git a/css/style.css b/css/style.css
new file mode 100644
index 0000000..250f565
--- /dev/null
+++ b/css/style.css
@@ -0,0 +1,37 @@
+body {
+ display: flex;
+}
+
+#nav {
+ display: flex;
+ flex-direction: column;
+ background-color: aquamarine;
+ width: 12rem;
+ padding: 1rem;
+}
+
+#content {
+ background-color: lightgreen;
+ width: 100%
+}
+
+#logo {
+ width: 100%;
+}
+
+hr {
+ width: 100%;
+ /* horizontal rule css style */
+ border: 2px solid #333;
+ border-bottom: none;
+}
+
+@media screen and (max-width: 1000px) {
+ body {
+ flex-direction: column;
+ }
+
+ #nav {
+ width: 100%;
+ }
+} \ No newline at end of file
diff --git a/images/favicon.png b/images/favicon.png
new file mode 100644
index 0000000..9d1ba4b
--- /dev/null
+++ b/images/favicon.png
Binary files differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..260db51
--- /dev/null
+++ b/index.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>CS 1300 - UI/UX 2022</title>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="description" content="" />
+ <link rel="stylesheet" type="text/css" href="./css/reset.css" />
+ <link rel="stylesheet" type="text/css" href="./css/style.css" />
+ <link rel="icon" href="./images/favicon.png" />
+ <meta name="theme-color" content="" />
+ <meta property="og:title" content="" />
+ <meta property="og:description" content="" />
+ </head>
+ <body>
+ <div id="nav"><div><img src="./images/favicon.png" id="logo"/></div><hr/><div>text</div></div>
+ <div id="content"><p>Hello, world!</p></div>
+ </body>
+</html>