Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

<title>Viking CSS Garden</title>

<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="reset.css">
</head>
<body>

Expand Down
48 changes: 48 additions & 0 deletions reset.css
Original file line number Diff line number Diff line change
@@ -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;
}
64 changes: 63 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,71 @@
* Your Styles Here
* ----------------------------------- */

body {
font-family: sans-serif;
}

header {
background-color: rgba(40, 167, 255, 1);
background-image: url("https://cdn.pixabay.com/photo/2017/09/26/16/32/autumn-2789234_960_720.jpg");
background-size: cover;
height: 30vh;
color: white;
}

.site-title {
display: block;
height: auto;
width: auto;
margin: auto;
text-align: center;
font-weight: bold;
font-size: 4em;
text-shadow: 0px 3px 1px rgba(0, 0, 0, 0.8);
}

.tagline {
display: block;
height: auto;
width: auto;
margin: auto;
text-align: center;
font-weight: bold;
font-size: 1.5em ;
padding: 10px 0px;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.7);
}

#main-content {
width: 65%;
float: left;
}


.main-content-section {
margin: 15px auto;
display: block;
width: 90%;
background: rgba(40, 167, 255, 0.1);
}

#sidebar {
display: block;
float: right;
width: 30%;
text-align: center;
}

.section-title {
padding: 15px auto;
font-size: 1.5em;
font weight: bold;
}

.citation {
font-weight: bold;
font-style: italic;
}

p {
padding: 7px 0px !important;
}