diff --git a/img/space.jpg b/img/space.jpg new file mode 100644 index 0000000..a4a6f48 Binary files /dev/null and b/img/space.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..472a448 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + +
+ +') + var $quoteBox = $('.quotebox') + $('p').text(data.quote + " - " + data.author) + $quoteBox.append($p) + $p.remove(); + } + + +}) diff --git a/style.css b/style.css new file mode 100644 index 0000000..8250444 --- /dev/null +++ b/style.css @@ -0,0 +1,54 @@ +body { + margin: 0 auto; +} + +h1 { + text-align: center; + margin-top: 10%; + color: white; +} + +p { + margin-top: 0px; + font-size: 18px; + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; + border-left: 5px solid #eee; + padding-left: 28px; +} + +.container{ + /*background-image: url("./img/space.jpg"); + background-size: contain;*/ + background-color: gray; + width: 100%; + height: 750px; + position: absolute; +} + +.quotebox { + width: 38%; + background-color: white; + border-radius: 4px; + margin-top: 6%; + margin-left: 27%; + margin-right: 25%; + margin-bottom: 20px; + box-shadow: 2px 2px 5px midnightblue; + padding-left: 3rem; + padding-right: 3rem; + padding-top: 3rem; + padding-bottom: 1.5rem; +} + +#button { + color: white; + background-color: #337ab7; + border-color: #2e6da4; + padding: 8px 12px; + font-size: 14px; + font-weight: 400px; + border-radius: 4px; + margin-top: 20px; + cursor: pointer; + border: 1px solid transparent +}