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
287 changes: 282 additions & 5 deletions great-idea/css/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* http://meyerweb.com/eric/tools/css/reset/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
Expand All @@ -12,8 +12,8 @@ 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
Expand All @@ -24,7 +24,7 @@ time, mark, audio, video {
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
Expand Down Expand Up @@ -63,4 +63,281 @@ h1, h2, h3, h4, h5 {
margin-bottom: 15px;
}

/* Copy and paste your work from yesterday here and start to refactor into flexbox */
/* Your code starts here! */


.main-container {
width: 800px;
margin: auto;
}

.nav-bar{

padding-top: 40px;
padding-bottom: 30px;
display: flex;
justify-content: space-between;
align-items: center;

}

.nav-bar nav{
width: 500px;
display: flex;
justify-content: space-between;
}

nav a {
margin-top: 20px;
color: lightgray;
text-decoration: none;
}

nav a:hover{
color: black;
}




.slogan-logo-section{
display: flex;
justify-content: space-between;
padding-bottom: 30px;
}

.slogan-logo-section .company-slogan{

font-size: 77px;
margin-top: 120px;
text-align: center;

}

.slogan-logo-section .company-slogan button{
vertical-align: top;
margin-top: 6px;
padding: 8px 44px;
font-size: 17px;
border: 1px solid black;
cursor: pointer;
}

button:hover{
background-color: darkgray;
color: white;
}

.slogan-logo-section img{
display: flex;
justify-content: flex-end;
}


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

.main-content .top-content {
display: flex;
justify-content: space-between;
}

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

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

.main-content .bottom-content {
margin-top: 37px;
display: flex;
justify-content: space-between;
}
.main-content .text-content {
margin: 10px;
}
.main-content .text-content:first-child {
margin-left: 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;
}


/*SERVICES PAGE CSS STARTS HERE */


.container {
width: 890px;
margin: 0 auto;
}

header {
margin: 3px 0 20px;
padding: 20px 0;
display: flex;
justify-content: space-between;
align-items: center;
}

header nav {
margin-top: 35px;
width: 620px;
display: flex;
justify-content: space-between;
}

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

header nav a:hover {
text-decoration: none;
color: black;
}

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

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

header .logo {
margin-top: 25px;
display: flex;
align-items: center;
}


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

.main-content .top-content {
display: flex;
justify-content: space-between;
}
.main-content .text-content:last-child {
margin-right: 0;
}

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

.main-content .bottom-content {
margin-top: 37px;
display: flex;
justify-content: space-between;
}
.main-content .text-content {
margin: 10px;
}
.main-content .text-content:first-child {
margin-left: 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;
}
.service-overview {
padding-top: 25px;
padding-bottom: 25px;
}
.service-overview h2 {
font-size: 25px;

}
.service-items {
padding-top: 40px;
padding-bottom: 40px;
border-top: 2px solid black;
border-bottom: 2px solid black;
display: flex;
flex-wrap: wrap;
justify-content: space-between;

}
.service-items .item {
display: flex;
justify-content: space-between;
background: #F4F3F4;
border: 1px solid black;
width: 425px;
height: 260px;
padding: 10px;
margin-bottom: 20px;
}
.service-items .item button {
background: white;
vertical-align: top;
margin: 10px;
height: 36px;
padding: 10px 36px 10px 36px;
font-size: 12px;
border: 1px solid black;
cursor: pointer;
border-radius: 5px;
}
.service-items .item button:hover {
background: darkgray;
color: white;
}
.service-info {
display: flex;
padding: 50px 10px 50px 0;
justify-content: space-around;
}

.service-info .infotext {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
flex-direction: column;
margin: 0 10px 10px 0;
padding-top: 0;
}
.service-info .infotext li {
list-style-type: circle;
list-style-position: inside;
padding: 5px;
}
Loading