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
Binary file added .DS_Store
Binary file not shown.
188 changes: 188 additions & 0 deletions css/index copy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
/* 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;
}

/* Set every element's box-sizing to border-box */
* {
box-sizing: border-box;
}

html, body {
height: 100%;
font-family: 'Titillium Web', sans-serif;
}

h1, h2, h3, h4, h5 {
font-family: 'Bangers', cursive;
letter-spacing: 1px;
margin-bottom: 15px;
}

.container {
width: 880px;
/* TB LR */
margin: 0 auto;
}

/* header */

header nav {
display: inline-block;
width: 691px;
vertical-align: top;
margin-top: 35px;
}

header nav a {
margin-right: 65px;
font-size: 14px;
color: gray;
text-decoration: none;
}

header nav a:hover {
text-decoration: underline;
}

header nav a:first-child {
margin-left: 0;
}

header nav a:last-child {
margin-right: 0;
}

header .logo {
margin-top: 25px;
}

/* cta */

.cta .cta-text {
display: inline-block;
vertical-align: top;
font-size: 77px;
margin-top: 120px;
text-align: center;
padding: 0px 75px;
}

.cta .cta-text button {
background: white;
vertical-align: top;
margin-top: 6px;
padding: 8px 44px;
font-size: 17px;
border: 1px solid black;
cursor: pointer;
}

.cta .cta-text button:hover {
background: black;
color: white;
}

.cta img {
display: inline-block;
margin-top: 69px;
}

.main-content {
border-top: 1px solid black;
margin-top: 76px;
padding-top: 39px;
}

.main-content .top-content {
padding: 0 10px;
}

.main-content .top-content .text-content {
width: 410px;
display: inline-block;
margin-right: 34px;
}

.main-content .top-content .text-content:last-child {
margin-right: 0;
}

.main-content .middle-img {
margin-top: 45px;
}

.main-content .bottom-content {
margin-top: 37px;
padding: 0 10px;
}

.main-content .bottom-content .text-content {
width: 275px;
display: inline-block;
margin-right: 12px;
}

.main-content .bottom-content .text-content:last-child {
margin-right: 0;
}

.contact {
margin-top: 57px;
border-top: 1px solid black;
padding: 39px 10px 0;
}

.contact p {
margin: 20px 0;
}

footer {
margin: 32px 0;
text-align: center;
font-size: 14px;
}
56 changes: 44 additions & 12 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
/* border: 0; */
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* *{border: 1px solid black} */
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
Expand Down Expand Up @@ -70,11 +71,13 @@ h1, h2, h3, h4, h5 {
}

/* header */

header {
display: flex;
alight-items: center;
}
header nav {
display: inline-block;
display: flex;
width: 691px;
vertical-align: top;
margin-top: 35px;
}

Expand Down Expand Up @@ -102,12 +105,18 @@ header .logo {
}

/* cta */

.cta {
display: flex;
justify-content: space-evenly;
align-items: center;
margin: 40px;
}
.cta .cta-text {
display: inline-block;
display: flex;
flex-direction: column;
vertical-align: top;
font-size: 77px;
margin-top: 120px;
/* margin-top: 120px; */
text-align: center;
padding: 0px 75px;
}
Expand All @@ -117,19 +126,31 @@ header .logo {
vertical-align: top;
margin-top: 6px;
padding: 8px 44px;
width: 185px;
font-size: 17px;
display:flex;
justify-content: center;
border: 1px solid black;
cursor: pointer;
}
.cta-text{
display: flex;
align-items: center;
}

}
}

}

.cta .cta-text button:hover {
background: black;
color: white;
}

.cta img {
display: inline-block;
margin-top: 69px;
/* display: inline-block;
margin-top: 69px; */
}

.main-content {
Expand All @@ -141,10 +162,15 @@ header .logo {
.main-content .top-content {
padding: 0 10px;
}
.top-content{
display: flex;
flex-direction: row;
}

.main-content .top-content .text-content {
width: 410px;
display: inline-block;
display: flex;
flex-direction: column;
margin-right: 34px;
}

Expand All @@ -160,10 +186,16 @@ header .logo {
margin-top: 37px;
padding: 0 10px;
}

.bottom-content{
display: flex;
}
.text-content{
display: flex;
flex-direction: column;
}
.main-content .bottom-content .text-content {
width: 275px;
display: inline-block;
display: flex;
margin-right: 12px;
}

Expand Down
Loading