Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added few functionalities #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
100 changes: 59 additions & 41 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,122 +1,142 @@
/* resetting browser stuff */
* {
* {
box-sizing: border-box;
}
html,
body {
body {
margin: 0;
padding: 0;
line-height: 1.5;
font-size: 16px;
}

/* styling our overall page */
body {
background: #FFF;
body {
background: #fff;
font-family: Arial, Helvetica, sans-serif;
}

/* styling our header */
header {
header {
background: #222;
color: #FFF;
color: #fff;
padding: 20px 30px;
}

/* logo */
#logo {
#logo {
display: inline-block;
color: #FFF;
color: #fff;
text-decoration: none;
width: 49%;
}
#logo img {
#logo img {
width: 50px;
border-radius: 3px;
margin-right: 8px;
vertical-align: middle;
}
#logo span {
#logo span {
display: inline-block;
}

/* main navigation */
nav {
nav {
width: 50%;
display: inline-block;
text-align: right;
}
nav ul {
nav ul {
list-style: none;
margin: 0;
}
nav ul li {
display: inline-block;
}
nav ul li a {
color: #FFF;
nav ul li a {
color: #fff;
text-decoration: none;
display: block;
padding: 10px 15px;
border-radius: 3px;
transition: 0.3s ease all;
}
nav ul li a:hover {
nav ul li a:hover {
background: #444;
}

/* styling our footer */
footer {
footer {
background: #222;
color: #777;
padding: 40px;
text-align: center;
}
footer img {
footer img {
display: block;
border-radius: 5px;
width: 80px;
margin: 0 auto 10px;
}

#myBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
border: none;
outline: none;
background-color: #232a3c;
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
font-size: 18px;
}

/* styling our main content */
.hero {
.hero {
min-height: 800px;
text-align: center;
background-image: url('../img/sky.jpg');
background-image: url("../img/sky.jpg");
background-size: cover;
}
.hero-content {
color: #FFF;
.hero-content {
color: #fff;
padding-top: 130px;
}
.hero-content h1 {
.hero-content h1 {
font-size: 100px;
margin: 0;
}
.hero-content p {
.hero-content p {
font-size: 50px;
}
.hero-content a {
.hero-content a {
display: inline-block;
color: #FFF;
border: 3px solid #FFF;
color: #fff;
border: 3px solid #fff;
border-radius: 3px;
padding: 15px 30px;
margin-right: 20px;
text-decoration: none;
font-size: 28px;
}
.hero-content a:hover {
background-color: #444;
transition: all 350ms ease;
}

/* basic site sections */
.site-section {
.site-section {
padding-bottom: 50px;
padding-top: 50px;
}
.site-section-secondary {
background: #EFEFEF;
.site-section-secondary {
background: #efefef;
}
.site-section-inside {
.site-section-inside {
width: 80%;
max-width: 1200px;
margin: 0 auto;
Expand All @@ -125,7 +145,7 @@ footer img {
text-align: center;
margin-bottom: 30px;
}
.section-header h2 {
.section-header h2 {
font-size: 30px;
letter-spacing: 2px;
text-transform: uppercase;
Expand All @@ -134,16 +154,16 @@ footer img {
}

/* feature boxes */
.feature-box {
.feature-box {
display: inline-block;
width: 33%;
padding: 20px 30px;
}
.feature-box img {
.feature-box img {
margin-bottom: 12px;
width: 80px;
}
.feature-box h5 {
.feature-box h5 {
font-size: 20px;
color: #999;
text-transform: uppercase;
Expand All @@ -153,31 +173,29 @@ footer img {
}

/* testimonial boxes */
.testimonial-box {
.testimonial-box {
display: inline-block;
width: 33%;
padding: 20px 30px;
}
.testimonial-content {
background: #FFF;
.testimonial-content {
background: #fff;
padding: 15px;
border-radius: 4px;
margin-bottom: 15px;
}
.testimonial-author {

}
.testimonial-author img {
float: left;
width: 80px;
border-radius: 50%;
margin-right: 15px;
vertical-align: middle;
}
.testimonial-author h5 {
.testimonial-author h5 {
font-size: 18px;
margin: 0;
padding-top:15px;
padding-top: 15px;
}
.testimonial-author span {
font-size: 14px;
Expand Down
Loading