Skip to content

Commit

Permalink
👌 IMPROVE: indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
msaaddev committed Oct 12, 2019
1 parent 4cd255b commit 12bfc09
Showing 1 changed file with 120 additions and 114 deletions.
234 changes: 120 additions & 114 deletions assets/style.css
Original file line number Diff line number Diff line change
@@ -1,150 +1,156 @@
*{
margin: 0;
padding: 0;
* {
margin: 0;
padding: 0;
}

/*Tablet Lanescape*/
@media screen and(max-width: 1060px){
#primary{ width: 67%; }
#secondary{ width: 30%; margin-left: 3%;}
@media screen and(max-width: 1060px) {
#primary {
width: 67%;
}
#secondary {
width: 30%;
margin-left: 3%;
}
}

/*Tabled portrait */
@media screen and(max-width: 768px){
#primary{ width: 100%; }
#secondary{ width: 100%;
margin-left: 3%;
margin:0;
border: none;
}
@media screen and(max-width: 768px) {
#primary {
width: 100%;
}
#secondary {
width: 100%;
margin-left: 3%;
margin: 0;
border: none;
}
}
/*Styling header part*/
header{
width: 100%;
overflow: hidden;
height: 140px;
background-color: white;
color: black;
font-family: 'Abril Fatface';
font-size: 140%;
text-align: center;
header {
width: 100%;
overflow: hidden;
height: 140px;
background-color: white;
color: black;
font-family: 'Abril Fatface';
font-size: 140%;
text-align: center;
}
/*Top name "NELSON MANDELA" */
.name {
padding-top: 15px;
padding-top: 15px;
}

.description{
padding-top: 15px;
font-size: 80%;
font-family: 'Abril Fatface';
.description {
padding-top: 15px;
font-size: 80%;
font-family: 'Abril Fatface';
}
/*main part of the page*/
.main{
height: 700px;
width: 100%;
.main {
height: 700px;
width: 100%;
}
/*div for image*/
div.column1{

float: left;
width: 70%;
height: 700px;
div.column1 {
float: left;
width: 70%;
height: 700px;
}
/*div for quote*/
div .quote{
padding-top: 70px;
height: 200px;
margin: 0;
text-align: center;
font-size: 20px;
font-family: 'Quattrocento', serif;
div .quote {
padding-top: 70px;
height: 200px;
margin: 0;
text-align: center;
font-size: 20px;
font-family: 'Quattrocento', serif;
}
/*writer name*/
.writer{
text-align: justify;
padding-top: 30px;
padding-left: 500px;
.writer {
text-align: justify;
padding-top: 30px;
padding-left: 500px;
}
/*Column for quick facts*/
div.column2{
float: left;
width: 30%;
height: 700px;
div.column2 {
float: left;
width: 30%;
height: 700px;
}
/*Styling Nelson's image*/
.image{
height: 500px;
width: 100%;
.image {
height: 500px;
width: 100%;
}
/*Quick info div*/
.quick_info{
height: 700px;
width: 300px;
margin: auto;
border:solid 2px gray;
text-align: center;
}
.quick_fact{
padding-top: 40px;
font-weight: bold;
font-size: 60x;
.quick_info {
height: 700px;
width: 300px;
margin: auto;
border: solid 2px gray;
text-align: center;
}
.quick_fact {
padding-top: 40px;
font-weight: bold;
font-size: 60x;
}
/*questions in wuick info*/
.heading{
color: gray;
padding-top: 15px;
.heading {
color: gray;
padding-top: 15px;
}
.Answer{
font-family: 'Montserrat';
text-align: center;
.Answer {
font-family: 'Montserrat';
text-align: center;
}
/*class for icons (twitter, facebook, youtube)*/
.fa {
padding: 15px;
margin-top: 50px;
margin-right: 15px;
font-size: 30px;
width: 15px;
text-align: center;
text-decoration: none;
}

/* Add a hover effect */
.fa:hover {
opacity: 0.7;
}

/* Facebook */
.fa-facebook {
background: #3B5998;
color: white;
}

/* Twitter */
.fa-twitter {
background: #55ACEE;
color: white;
}
/* Youtube */
.fa-youtube{
background-color: #c4302b;
color:white;
}
/* Footer styling */
.end{
height: 70px;
margin-top: 50px;
background-color:black;
width: 100%;
overflow: hidden;
padding: 15px;
margin-top: 50px;
margin-right: 15px;
font-size: 30px;
width: 15px;
text-align: center;
text-decoration: none;
}
/*links in footer*/
ul li{
float: right;
color: white;
padding: 20px;
list-style: none;
background-color: black;

/* Add a hover effect */
.fa:hover {
opacity: 0.7;
}

/* Facebook */
.fa-facebook {
background: #3b5998;
color: white;
}

/* Twitter */
.fa-twitter {
background: #55acee;
color: white;
}
/* Youtube */
.fa-youtube {
background-color: #c4302b;
color: white;
}
/* Footer styling */
.end {
height: 70px;
margin-top: 50px;
background-color: black;
width: 100%;
overflow: hidden;
}
/*links in footer*/
ul li {
float: right;
color: white;
padding: 20px;
list-style: none;
background-color: black;
}

0 comments on commit 12bfc09

Please sign in to comment.