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 cool animation #10

Open
wants to merge 1 commit 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
320 changes: 188 additions & 132 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,184 +1,240 @@
/* resetting browser stuff */
* {
box-sizing: border-box;

* {
box-sizing: border-box;
}

html,
body {
margin: 0;
padding: 0;
line-height: 1.5;
font-size: 16px;
body {
margin: 0;
padding: 0;
line-height: 1.5;
font-size: 16px;
}


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

body {
background: #FFF;
font-family: Arial, Helvetica, sans-serif;
}


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

header {
background: #222;
color: #FFF;
padding: 20px 30px;
}


/* logo */
#logo {
display: inline-block;
color: #FFF;
text-decoration: none;
width: 49%;

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

#logo img {
width: 50px;
border-radius: 3px;
margin-right: 8px;
vertical-align: middle;
}
#logo span {
display: inline-block;

#logo span {
display: inline-block;
}


/* main navigation */
nav {
width: 50%;
display: inline-block;
text-align: right;

nav {
width: 50%;
display: inline-block;
text-align: right;
}
nav ul {
list-style: none;
margin: 0;

nav ul {
list-style: none;
margin: 0;
}

nav ul li {
display: inline-block;
display: inline-block;
}
nav ul li a {
color: #FFF;
text-decoration: none;
display: block;
padding: 10px 15px;
border-radius: 3px;
transition: 0.3s ease all;

.nav-link {
color: white;
text-decoration: none;
padding: 1rem;
font-weight: 600;
font-size: 18px;
letter-spacing: 0.1rem;
}
nav ul li a:hover {
background: #444;

.nav-item a:before {
content: "";
position: absolute;
top: 8%;
width: 0;
height: 2px;
border-bottom: 2px solid greenyellow !important;
transition: all 0.3s linear;
}

.nav-item a:hover:before {
width: 5%;
}


/* styling our footer */
footer {
background: #222;
color: #777;
padding: 40px;
text-align: center;

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

footer img {
display: block;
border-radius: 5px;
width: 80px;
margin: 0 auto 10px;
}


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

.hero {
min-height: 800px;
text-align: center;
background-image: url('../img/sky.jpg');
background-size: cover;
}

.hero-content {
color: #FFF;
padding-top: 130px;
}

.hero-content h1 {
font-size: 100px;
margin: 0;
}

.hero-content p {
font-size: 50px;
}

.hero-content a {
display: inline-block;
color: #FFF;
border: 3px solid #FFF;
border-radius: 3px;
padding: 15px 30px;
margin-right: 20px;
text-decoration: none;
font-size: 28px;
transition: 0.3s ease;
}

.hero-content a:hover {
border: 3px solid greenyellow;
color: rgb(167, 167, 167);
}


/* basic site sections */
.site-section {
padding-bottom: 50px;
padding-top: 50px;

.site-section {
padding-bottom: 50px;
padding-top: 50px;
}
.site-section-secondary {
background: #EFEFEF;

.site-section-secondary {
background: #EFEFEF;
}
.site-section-inside {
width: 80%;
max-width: 1200px;
margin: 0 auto;

.site-section-inside {
width: 80%;
max-width: 1200px;
margin: 0 auto;
}

.section-header {
text-align: center;
margin-bottom: 30px;
text-align: center;
margin-bottom: 30px;
}
.section-header h2 {
font-size: 30px;
letter-spacing: 2px;
text-transform: uppercase;
font-weight: 300;
color: #777;

.section-header h2 {
font-size: 30px;
letter-spacing: 2px;
text-transform: uppercase;
font-weight: 300;
color: #777;
}


/* feature boxes */
.feature-box {
display: inline-block;
width: 33%;
padding: 20px 30px;

.feature-box {
display: inline-block;
width: 33%;
padding: 20px 30px;
}
.feature-box img {
margin-bottom: 12px;
width: 80px;

.feature-box img {
margin-bottom: 12px;
width: 80px;
}
.feature-box h5 {
font-size: 20px;
color: #999;
text-transform: uppercase;
font-weight: 300;
letter-spacing: 2px;
margin: 0;

.feature-box h5 {
font-size: 20px;
color: #999;
text-transform: uppercase;
font-weight: 300;
letter-spacing: 2px;
margin: 0;
}


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

.testimonial-box {
display: inline-block;
width: 33%;
padding: 20px 30px;
}
.testimonial-author {

.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;
float: left;
width: 80px;
border-radius: 50%;
margin-right: 15px;
vertical-align: middle;
}
.testimonial-author h5 {
font-size: 18px;
margin: 0;
padding-top:15px;

.testimonial-author h5 {
font-size: 18px;
margin: 0;
padding-top: 15px;
}

.testimonial-author span {
font-size: 14px;
}
font-size: 14px;
}
Loading