Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gridlayout
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
Manivasagam S
gridlayout
Commits
e67e0112
Commit
e67e0112
authored
Apr 30, 2025
by
Manivasagam S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style changed
parent
e99dbbf0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
291 additions
and
29 deletions
+291
-29
App.css
src/App.css
+291
-29
No files found.
src/App.css
View file @
e67e0112
@import
url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap")
;
*
{
padding
:
0
;
margin
:
0
;
box-sizing
:
border-box
;
color
:
white
;
font-family
:
"Open Sans"
,
sans-serif
;
}
body
{
margin
:
0
auto
;
}
html
{
font-size
:
62.5%
;
}
nav
{
position
:
fixed
;
height
:
50px
!important
;
padding
:
8px
30px
;
position
:
sticky
;
background-color
:
rgb
(
249
,
249
,
249
);
height
:
5rem
!important
;
padding
:
0.8rem
1rem
;
width
:
100%
;
top
:
0
;
}
nav
img
{
height
:
70%
;
filter
:
brightness
(
0
);
}
.main
{
display
:
grid
;
grid-template-columns
:
1
fr
1
fr
1
fr
;
max-width
:
100vw
;
min-height
:
100vh
;
margin-inline
:
auto
;
grid-template-columns
:
1
fr
;
width
:
100%
;
margin
:
0
auto
;
}
.card
{
display
:
grid
;
grid-template-columns
:
1
fr
1
fr
;
/* max-height: 50vh; */
min-width
:
0
;
padding
:
2rem
1.7rem
;
overflow
:
hidden
;
grid-template-columns
:
1
fr
;
align-items
:
center
;
justify-items
:
center
;
padding
:
4rem
;
text-align
:
center
;
width
:
100%
;
height
:
60vh
;
max-height
:
82rem
;
gap
:
3vh
;
min-height
:
max-content
;
}
.card
.about
{
text-align
:
left
;
width
:
100%
;
margin
-left
:
9%
;
margin
:
0
auto
;
}
.card
.about
h4
,
.card
.about
hr
{
font-size
:
1.8rem
;
margin-block
:
10px
;
width
:
70%
;
text-wrap
:
wrap
;
font-weight
:
400
;
.card
.about
h5
{
font-weight
:
100
;
font-size
:
1.5rem
;
text-transform
:
uppercase
;
opacity
:
60%
;
}
.card
.about
h4
{
font-size
:
1.6rem
;
text-transform
:
uppercase
;
font-weight
:
700
;
margin-top
:
15px
;
}
.card
.about
hr
{
height
:
1px
;
height
:
0.1rem
;
background-color
:
white
;
border
:
none
;
border-radius
:
1px
;
border-radius
:
0.1rem
;
width
:
100%
;
margin
:
10px
0
;
}
.card
.about
.logo
{
width
:
6rem
;
margin-block
:
7px
;
width
:
5rem
;
}
.card
.about
img
{
width
:
100%
;
}
.card
>
:nth-child
(
2
)
{
width
:
auto
;
.card
.img-container
{
max-width
:
25rem
;
width
:
100%
;
}
.card
.img-container
img
{
max-width
:
22rem
;
}
.card
>
:nth-child
(
2
)
img
{
.card-1
.img-container
img
{
max-width
:
25rem
;
}
.card-6
.img-container
img
{
transform
:
scale
(
1.2
);
margin-top
:
10rem
;
}
.card
.img-container
img
{
width
:
100%
;
height
:
300px
;
height
:
auto
;
object-fit
:
contain
;
}
.card-6
.img-container
{
max-height
:
20rem
;
}
.card-1
{
background
:
#41ca6e
;
}
.card-2
{
background
:
#fab153
;
}
.card-3
{
background
:
#7277d5
;
}
.card-4
{
background
:
#f87d51
;
}
.card-5
{
background
:
#ed5466
;
}
.card-6
{
background
:
#4ec2e7
;
}
/* -------------------- Media Queries -------------------- */
@media
(
min-width
:
640px
)
{
.card
{
grid-template-columns
:
1
fr
1
fr
;
text-align
:
left
;
gap
:
3rem
;
min-height
:
50vh
;
height
:
auto
;
}
.card
.about
,
.card
.img-container
{
max-width
:
100%
;
justify-self
:
center
;
}
.card-6
.img-container
{
transform
:
scale
(
1
);
max-height
:
30rem
;
}
.card
.img-container
{
max-width
:
18rem
;
}
.card-1
.img-container
{
max-width
:
24rem
;
}
.card
.about
h4
{
text-transform
:
none
;
}
.card
.about
h5
{
text-transform
:
none
;
opacity
:
100%
;
}
.card-1
.about
.logo
{
width
:
5rem
;
}
.card-2
.about
.logo
{
width
:
6rem
;
}
.card-3
.about
.logo
{
width
:
8rem
;
}
.card-4
.about
.logo
{
width
:
9rem
;
}
.card-5
.about
.logo
{
width
:
8rem
;
}
.card-6
.about
.logo
{
width
:
6rem
;
}
}
@media
(
min-width
:
768px
)
{
nav
{
background
:
transparent
;
position
:
fixed
;
top
:
0
;
}
nav
img
{
filter
:
brightness
(
5
);
}
.main
{
grid-template-columns
:
repeat
(
2
,
1
fr
);
}
.card
{
max-width
:
100%
;
}
.card
.about
h4
{
font-size
:
1.6rem
;
font-weight
:
400
;
}
.card
.about
h5
{
font-size
:
1.4rem
;
}
.card-1
.about
{
margin-bottom
:
3rem
;
}
.card-1
.img-container
{
max-width
:
35rem
;
}
.card-6
.img-container
{
max-width
:
75%
;
}
.card-6
.img-container
img
{
margin-bottom
:
7rem
;
transform
:
scale
(
1.5
);
}
}
@media
(
min-width
:
1024px
)
{
body
{
max-width
:
2160px
;
margin-inline
:
auto
;
}
.main
{
grid-template-columns
:
repeat
(
3
,
1
fr
);
}
.card
{
padding
:
4rem
;
min-height
:
50vh
;
}
.card
.about
h4
{
font-size
:
1.5rem
;
font-weight
:
400
;
}
.card
.about
h5
{
font-size
:
1.4rem
;
}
.card
.about
hr
{
width
:
auto
;
}
.card-6
.img-container
{
transform
:
scale
(
1.2
);
}
}
@media
(
min-width
:
1536px
)
{
.card
{
min-height
:
48rem
;
}
.card
>
.img-container
img
{
width
:
100%
;
}
.card
.img-container
{
width
:
20rem
;
display
:
flex
;
}
.card-1
>
.img-container
img
{
max-width
:
20rem
;
}
.card-1
.img-container
{
margin-left
:
9rem
;
}
.card-6
.img-container
img
{
margin-left
:
9rem
;
}
.card-1
>
:nth-child
(
1
)
{
margin-left
:
3rem
;
}
.card
.about
h4
{
font-size
:
1.7rem
!important
;
font-weight
:
400
;
}
.card
.about
h5
{
font-size
:
1.5rem
!important
;
}
.card-6
.img-container
{
transform
:
scale
(
0.9
);
margin-right
:
9rem
;
}
.card-1
.img-container
{
transform
:
scale
(
1.1
);
}
}
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