Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Simple-responsive-layout
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vinod
Simple-responsive-layout
Commits
d751cc41
Commit
d751cc41
authored
a year ago
by
Vinod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code restructured
parent
d9982d7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
137 additions
and
125 deletions
+137
-125
style.css
CSS/style.css
+137
-125
No files found.
CSS/style.css
View file @
d751cc41
...
...
@@ -41,203 +41,215 @@ body {
height
:
100%
;
width
:
100%
;
}
.card
{
float
:
left
;
width
:
calc
(
100%
/
3
);
height
:
calc
(
100%
/
2
);
width
:
100%
;
}
.main-logo
{
position
:
absolute
;
width
:
20%
;
margin
:
5%
;
}
.wrapper
{
width
:
100%
;
}
.hline
{
width
:
5
5%
;
width
:
4
5%
;
height
:
1.5px
;
background
:
white
;
margin
:
5%
5%
10px
25%
;
margin
:
5%
0
4%
25%
;
}
.main-logo
{
position
:
absolute
;
width
:
4%
;
margin
:
1.5%
0
0
1.5%
;
.logo
{
width
:
15%
;
margin
:
20%
0
5%
25%
;
}
.desc
{
width
:
60%
;
float
:
left
;
width
:
100%
;
}
.title
{
color
:
whit
e
;
font-weight
:
lighter
;
font-size
:
larg
e
;
font-weight
:
400
;
margin-left
:
25%
;
}
.offer
{
color
:
white
;
text-transform
:
uppercase
;
font-weight
:
lighter
;
font-size
:
smaller
;
font-size
:
medium
;
margin-left
:
25%
;
}
.logo
{
width
:
18%
;
margin
:
35%
0
5%
25%
;
}
.image-block
{
width
:
40%
;
float
:
right
;
}
.image-block
.images
{
float
:
left
;
width
:
80%
;
margin
:
8%
0
0
5%
;
width
:
100%
;
}
.image-block
.image1
{
float
:
left
;
width
:
90%
;
margin
:
40%
20%
0
0
;
width
:
50%
;
margin
:
10%
0
5%
25%
;
}
.image-block
.image2
{
float
:
left
;
width
:
100%
;
margin-top
:
80%
;
.image-block
.images
{
width
:
45%
;
margin
:
10%
0
5%
25%
;
}
.only-mobile
{
display
:
none
;
.image-block
.image2
{
width
:
65%
;
margin
:
15%
0
0
15%
;
}
/* Media Query for Mobile Devices */
@media
(
max-width
:
480px
)
{
.main-logo
{
width
:
13%
;
margin
:
15px
;
}
/* Media Query for Tablets, Ipads */
@media
only
screen
and
(
min-width
:
480px
)
{
.card
{
width
:
100%
;
min-height
:
31em
;
float
:
left
;
width
:
50%
;
min-height
:
45em
;
}
.main-logo
{
position
:
absolute
;
width
:
15%
;
margin
:
4%
;
}
.hline
{
width
:
40%
;
margin
:
2%
0
2%
25%
;
width
:
45%
;
height
:
1.5px
;
background
:
white
;
margin
:
5%
0
4%
25%
;
}
.logo
{
width
:
15%
;
margin
:
35%
0
5%
25%
;
}
.desc
{
width
:
100%
;
}
.image-block
{
width
:
60%
;
float
:
none
;
margin-left
:
30%
;
.title
{
font-size
:
large
;
font-weight
:
400
;
margin-left
:
25%
;
}
.image-block
.images
{
float
:
none
;
width
:
50%
;
margin
:
10%
0
0
5%
;
.offer
{
font-weight
:
lighter
;
font-size
:
400
;
margin-left
:
25%
;
}
.image-block
.image1
{
width
:
60%
;
margin
:
15%
0
0
20%
;
}
.image-block
.images
{
width
:
50%
;
float
:
none
;
margin-top
:
8%
;
margin
:
15%
0
0
25%
;
}
.image-block
.image2
{
float
:
none
;
width
:
75%
;
margin
:
10%
30%
0
0
;
}
.logo
{
width
:
12%
;
margin
:
21%
0
0
25%
;
width
:
65%
;
margin
:
25%
0
0
20%
;
}
}
/* Media Query for low resolution Tablets, Ipads */
@media
(
min-width
:
480px
)
and
(
max-width
:
768px
)
{
/* Media Query for Tablets Ipads portrait mode */
@media
only
screen
and
(
min-width
:
768px
)
{
.card
{
width
:
50%
;
min-height
:
20em
;
}
.main-logo
{
position
:
absolute
;
width
:
10%
;
margin
:
15px
;
margin
:
2%
;
}
.card
{
width
:
50%
;
min-height
:
31em
;
.wrapper
{
width
:
100%
;
}
.hline
{
width
:
65%
;
}
.logo
{
width
:
15%
;
margin
:
30%
0
5%
25%
;
}
.desc
{
width
:
100%
;
float
:
left
;
width
:
60%
;
}
.image-block
{
width
:
50%
;
float
:
none
;
margin-left
:
30%
;
.title
{
font-size
:
large
;
font-weight
:
400
;
}
.image-block
.images
{
float
:
none
;
width
:
65%
;
margin
:
10%
0
0
5%
;
.offer
{
font-size
:
medium
;
}
.image-block
{
float
:
left
;
width
:
40%
;
}
.image-block
.image1
{
width
:
75%
;
margin
:
15%
15%
0
0
;
margin
:
60%
0
0
10%
;
}
.image-block
.images
{
width
:
60%
;
margin
:
35%
0
0
20%
;
}
.image-block
.image2
{
float
:
none
;
margin
:
30%
30%
0
0
;
width
:
100%
;
margin
:
70%
0
0
0
;
}
}
/* Media Query for Laptops and Desktops */
@media
only
screen
and
(
min-width
:
992px
)
{
.card
{
width
:
calc
(
100%
/
3
);
min-height
:
23.5em
;
/* max-height: calc(100% / 2); */
}
.main-logo
{
width
:
5%
;
margin
:
1.5%
;
}
.wrapper
{
width
:
100%
;
}
.logo
{
margin
:
25%
0
0
25%
;
width
:
16%
;
margin
:
40%
0
5%
25%
;
}
.desc
{
width
:
60%
;
}
.image-block
{
width
:
40%
;
}
.image-block
.image1
{
width
:
70%
;
margin
:
75%
0
0
15%
;
}
.image-block
.images
{
width
:
60%
;
margin
:
50%
0
0
20%
;
}
.image-block
.image2
{
margin
:
70%
0
0
0
;
}
}
/* Media Query for
Tablets Ipads portrait mode
*/
@media
(
min-width
:
768px
)
and
(
max-width
:
992
px
)
{
/* Media Query for
Large screens
*/
@media
(
min-width
:
1024
px
)
{
.card
{
width
:
50%
;
min-height
:
calc
(
100%
/
2
);
}
.wrapper
{
min-height
:
20em
;
}
}
/* Media Query for Laptops and Desktops */
@media
(
min-width
:
992px
)
and
(
max-width
:
1280px
)
{
@media
(
min-width
:
1440px
)
{
.card
{
width
:
33.33%
;
min-height
:
20em
;
min-height
:
calc
(
100%
/
2
);
}
.wrapper
{
m
argin-top
:
2
em
;
m
in-height
:
21
em
;
}
}
/* Media Query for Large screens */
@media
(
min-width
:
1280px
)
{
@media
(
min-width
:
2200px
)
{
.card
{
width
:
33.33%
;
min-height
:
23em
;
min-height
:
calc
(
100%
/
2
);
}
.wrapper
{
m
argin-top
:
2
em
;
m
in-height
:
36
em
;
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment