Commit e8f63a74 by Ajmal.S

css corrections

parent e6f75d5d
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
* { * {
box-sizing: border-box; box-sizing: border-box;
font-family: "Open Sans", sans-serif;
color: #fff;
font-size: 14px;
} }
body { body {
margin: 0 !important; margin: 0 !important;
font-family: "Open Sans", sans-serif;
color: #fff;
font-size: 14px;
} }
.underline { .underline {
...@@ -22,44 +22,32 @@ body { ...@@ -22,44 +22,32 @@ body {
.col-1 { .col-1 {
background-color: #41ca6e; background-color: #41ca6e;
color: #fff;
padding: 55px 20px 20px 20px;
} }
.col-2 { .col-2 {
background-color: #fab153; background-color: #fab153;
color: #fff;
padding: 90px 20px 20px 20px;
} }
.col-3 { .col-3 {
background-color: #7277d5; background-color: #7277d5;
color: #fff;
padding: 90px 20px 20px 20px;
} }
.col-4 { .col-4 {
background-color: #f87d51; background-color: #f87d51;
color: #fff;
padding: 90px 20px 20px 20px;
} }
.col-5 { .col-5 {
background-color: #ed5466; background-color: #ed5466;
color: #fff;
padding: 90px 20px 20px 20px;
} }
.col-6 { .col-6 {
background-color: #4ec2e7; background-color: #4ec2e7;
color: #fff;
padding: 90px 20px 20px 20px;
} }
.info { .info {
text-align: left; text-align: left;
display: inline-block; display: inline-block;
padding-top: 90px; padding: 20px;
} }
.c-margin-t { .c-margin-t {
...@@ -68,7 +56,6 @@ body { ...@@ -68,7 +56,6 @@ body {
.logo { .logo {
position: relative; position: relative;
bottom: 35px;
} }
/* Grid Css */ /* Grid Css */
...@@ -78,6 +65,10 @@ body { ...@@ -78,6 +65,10 @@ body {
width: auto; width: auto;
} }
.grid {
padding: 20px;
}
@media (min-width: 600px) { @media (min-width: 600px) {
.grids { .grids {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
...@@ -129,22 +120,25 @@ body { ...@@ -129,22 +120,25 @@ body {
.columns { .columns {
width: 33.33%; width: 33.33%;
float: left; float: left;
height: 520px; height: 50vh;
padding: 20px;
color: #fff;
} }
@media only screen and (min-width: 300px) and (max-width: 500px){ @media only screen and (min-width: 250px) and (max-width: 500px) {
.columns { .columns {
width: 100%; width: 100%;
float: left; float: left;
height: 720px; height: 50vh;
min-height: 650px;
} }
} }
@media only screen and (min-width: 500px) and (max-width: 1024px) { @media only screen and (min-width: 500px) and (max-width: 1024px) {
.columns { .columns {
width: 50%; width: 50%;
float: left; float: left;
height: 720px; height: 100vh;
} }
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
<div class="grids"> <div class="grids">
<div class="col-1"> <div class="grid col-1">
<div class="logo"> <div class="logo">
<img src="assets/img/logo-aoc.png" width="85" height="30"> <img src="assets/img/logo-aoc.png" width="85" height="30">
</div> </div>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</div> </div>
<img src="assets/img/image-1.png" align="right" class="c-margin-t"> <img src="assets/img/image-1.png" align="right" class="c-margin-t">
</div> </div>
<div class="col-2"> <div class="grid col-2">
<div class="info"> <div class="info">
<img src="assets/img/logo-digitainment.png" width="55" height="40"> <img src="assets/img/logo-digitainment.png" width="55" height="40">
<p>Be hooked!</p> <p>Be hooked!</p>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
<img src="assets/img/image-2.png" align="right"> <img src="assets/img/image-2.png" align="right">
</div> </div>
<div class="col-3"> <div class="grid col-3">
<div class="info"> <div class="info">
<img src="assets/img/logo-adaptxt.png" width="90" height="30"> <img src="assets/img/logo-adaptxt.png" width="90" height="30">
<p>The best things in <br>life are free</p> <p>The best things in <br>life are free</p>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</div> </div>
<img src="assets/img/image-3.png" align="right"> <img src="assets/img/image-3.png" align="right">
</div> </div>
<div class="col-4"> <div class="grid col-4">
<div class="info"> <div class="info">
<img src="assets/img/logo-hungama.png" width="90" height="20"> <img src="assets/img/logo-hungama.png" width="90" height="20">
<p>The thump <br> never ends here</p> <p>The thump <br> never ends here</p>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</div> </div>
<img src="assets/img/image-4.png" align="right"> <img src="assets/img/image-4.png" align="right">
</div> </div>
<div class="col-5"> <div class="grid col-5">
<div class="info"> <div class="info">
<img src="assets/img/logo-adaptxt.png" width="90" height="30"> <img src="assets/img/logo-adaptxt.png" width="90" height="30">
<p>Being globally you</p> <p>Being globally you</p>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</div> </div>
<img src="assets/img/image-5.png" align="right"> <img src="assets/img/image-5.png" align="right">
</div> </div>
<div class="col-6"> <div class="grid col-6">
<div class="info"> <div class="info">
<img src="assets/img/logo-read-where.png" width="50" height="45"> <img src="assets/img/logo-read-where.png" width="50" height="45">
<p>For the wise</p> <p>For the wise</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment