Gitlab@Informatics
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloudproject65160260
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
65160260
cloudproject65160260
Commits
9556cfc7
Commit
9556cfc7
authored
3 weeks ago
by
65160260
Browse files
Options
Downloads
Patches
Plain Diff
Edit style.css
parent
f9076eb6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
style.css
+131
-0
131 additions, 0 deletions
style.css
with
131 additions
and
0 deletions
style.css
+
131
−
0
View file @
9556cfc7
/* ตั้งค่าพื้นฐาน */
body
{
font-family
:
Arial
,
sans-serif
;
margin
:
0
;
padding
:
0
;
background-color
:
#f4f4f4
;
}
/* คอนเทนเนอร์หลัก */
.container
{
width
:
80%
;
margin
:
20px
auto
;
background
:
white
;
padding
:
20px
;
box-shadow
:
0px
0px
10px
rgba
(
0
,
0
,
0
,
0.1
);
border-radius
:
10px
;
}
/* หัวข้อ */
h2
{
text-align
:
center
;
color
:
#333
;
}
/* ตารางสินค้า */
table
{
width
:
100%
;
border-collapse
:
collapse
;
margin-top
:
20px
;
}
table
,
th
,
td
{
border
:
1px
solid
#ddd
;
}
th
,
td
{
padding
:
10px
;
text-align
:
center
;
}
th
{
background-color
:
#007BFF
;
color
:
white
;
}
/* ฟอร์ม */
form
{
text-align
:
center
;
margin
:
20px
0
;
}
input
,
button
{
padding
:
10px
;
margin
:
5px
;
border
:
1px
solid
#ccc
;
border-radius
:
5px
;
}
button
{
background-color
:
#28a745
;
color
:
white
;
cursor
:
pointer
;
}
button
:hover
{
background-color
:
#218838
;
}
/* ลิงก์ */
a
{
text-decoration
:
none
;
color
:
#007BFF
;
}
a
:hover
{
text-decoration
:
underline
;
}
/* ปุ่มลบ */
.btn-delete
{
color
:
red
;
font-weight
:
bold
;
}
.btn-delete
:hover
{
color
:
darkred
;
}
/* ตะกร้าสินค้า */
.cart-container
{
max-width
:
600px
;
margin
:
auto
;
}
.cart-container
table
{
width
:
100%
;
}
.cart-container
th
,
.cart-container
td
{
padding
:
10px
;
}
/* ปุ่มเพิ่ม-ลดจำนวนสินค้า */
.qty-btn
{
padding
:
5px
10px
;
background-color
:
#007BFF
;
color
:
white
;
border
:
none
;
cursor
:
pointer
;
border-radius
:
5px
;
}
.qty-btn
:hover
{
background-color
:
#0056b3
;
}
/* ปุ่มชำระเงิน */
.checkout-btn
{
display
:
block
;
width
:
100%
;
text-align
:
center
;
background-color
:
#ffc107
;
padding
:
10px
;
border-radius
:
5px
;
font-size
:
18px
;
color
:
black
;
}
.checkout-btn
:hover
{
background-color
:
#e0a800
;
}
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