Gitlab@Informatics
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
project-melon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
65160381
project-melon
Commits
51d7be9a
Commit
51d7be9a
authored
1 month ago
by
65160381
Browse files
Options
Downloads
Patches
Plain Diff
8.2
parent
902004b7
No related branches found
No related tags found
No related merge requests found
Pipeline
#602
passed with warnings
1 month ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/styles/home.css
+80
-63
80 additions, 63 deletions
public/styles/home.css
with
80 additions
and
63 deletions
public/styles/home.css
+
80
−
63
View file @
51d7be9a
body
{
font-family
:
'Roboto'
,
sans-serif
;
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
body
{
font-family
:
'Roboto'
,
sans-serif
;
background-color
:
#f4f6f9
;
display
:
flex
;
justify-content
:
center
;
flex-direction
:
column
;
align-items
:
center
;
min-height
:
100vh
;
color
:
#333
;
}
/* H
ome Contain
er */
.home-contain
er
{
/* H
ead
er */
head
er
{
width
:
100%
;
max-width
:
1200px
;
padding
:
30px
;
background-color
:
#ffffff
;
border-radius
:
12px
;
box-shadow
:
0
6px
15px
rgba
(
0
,
0
,
0
,
0.1
);
margin
:
20px
;
box-sizing
:
border-box
;
padding
:
15px
30px
;
background-color
:
#ff7e5f
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
box-shadow
:
0
4px
10px
rgba
(
0
,
0
,
0
,
0.1
);
}
/* Title */
h1
{
font-size
:
36px
;
color
:
#333
;
margin-bottom
:
20px
;
text-align
:
center
;
header
.logo
h1
{
color
:
white
;
font-size
:
28px
;
font-weight
:
700
;
}
/* Section */
.section
{
header
.search-bar
input
{
padding
:
8px
15px
;
font-size
:
16px
;
border-radius
:
20px
;
border
:
none
;
width
:
300px
;
}
header
.cart
a
,
header
.logout
a
,
header
.edit-order-btn
{
color
:
white
;
font-size
:
16px
;
margin-left
:
20px
;
text-decoration
:
none
;
}
header
.user-info
{
display
:
flex
;
flex-wrap
:
wrap
;
gap
:
30px
;
justify-content
:
space-between
;
margin-top
:
20px
;
align-items
:
center
;
}
/* Products Section */
.products
{
display
:
grid
;
grid-template-columns
:
repeat
(
auto-fill
,
minmax
(
280px
,
1
fr
));
gap
:
20px
;
margin
:
40px
20px
;
width
:
100%
;
max-width
:
1200px
;
}
/* Card */
.card
{
flex
:
1
;
min-width
:
280px
;
.product
{
background-color
:
white
;
padding
:
20px
;
background-color
:
#ffffff
;
border-radius
:
10px
;
border-radius
:
8px
;
box-shadow
:
0
4px
10px
rgba
(
0
,
0
,
0
,
0.1
);
transition
:
all
0.3s
ease
;
text-align
:
center
;
}
.card
:hover
{
transform
:
translateY
(
-5px
);
box-shadow
:
0
6px
15px
rgba
(
0
,
0
,
0
,
0.2
);
.product
img
{
width
:
100%
;
height
:
200px
;
object-fit
:
cover
;
border-radius
:
8px
;
}
/* Card Title */
.card
h2
{
font-size
:
24px
;
color
:
#ff7e5f
;
margin-bottom
:
15px
;
.product
h3
{
font-size
:
20px
;
margin
:
10px
0
;
}
/* Card Description */
.card
p
{
font-size
:
16px
;
color
:
#555
;
line-height
:
1.6
;
.product
p
{
font-size
:
18px
;
color
:
#333
;
margin-bottom
:
15px
;
}
/* Button */
.card
button
{
padding
:
12px
20px
;
.product
button
{
padding
:
10px
20px
;
background-color
:
#ff7e5f
;
color
:
white
;
font-size
:
16px
;
border
:
none
;
border-radius
:
8
px
;
border-radius
:
5
px
;
cursor
:
pointer
;
margin-top
:
15px
;
transition
:
background-color
0.3s
ease
;
}
.
card
button
:hover
{
.
product
button
:hover
{
background-color
:
#feb47b
;
}
/* Footer */
footer
{
margin-top
:
40px
;
background-color
:
#333
;
color
:
white
;
padding
:
15px
0
;
text-align
:
center
;
font-size
:
14px
;
color
:
#777
;
width
:
100%
;
}
/* Responsive Design */
@media
(
max-width
:
768px
)
{
.home-container
{
padding
:
20px
;
}
.section
{
header
{
flex-direction
:
column
;
align-items
:
center
;
align-items
:
flex-start
;
}
.card
{
margin-bottom
:
20px
;
.search-bar
input
{
width
:
100%
;
margin-bottom
:
10px
;
}
.products
{
grid-template-columns
:
1
fr
1
fr
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment