Skip to content

Commit 8533b1d

Browse files
vgarciafTortitasT
andauthored
added styles to blade page (#8)
Co-authored-by: Tortitas <victorgf2011@gmail.com>
1 parent 91f00e6 commit 8533b1d

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

resources/views/payment.blade.php

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,95 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<title>Descom Payment Demo</title>
9+
<style>
10+
body {
11+
font-family: Arial, Helvetica, sans-serif;
12+
background-color: #f2f2f2;
13+
14+
margin: 0;
15+
padding: 1em;
16+
17+
height: 100vh;
18+
display: flex;
19+
flex-direction: column;
20+
justify-content: center;
21+
}
22+
23+
.container {
24+
width: 100%;
25+
box-sizing: border-box;
26+
max-width: 600px;
27+
margin: 0 auto;
28+
background-color: #fff;
29+
padding: 20px;
30+
}
31+
32+
header {
33+
text-align: center;
34+
}
35+
36+
header h1 {
37+
font-size: 1.5rem;
38+
margin: 0;
39+
}
40+
41+
header p {
42+
font-size: 0.8rem;
43+
margin: 0;
44+
}
45+
46+
.resume {
47+
margin: 20px 0;
48+
text-align: center;
49+
}
50+
51+
.resume h2 {
52+
font-size: 1.2rem;
53+
margin: 0;
54+
}
55+
56+
.resume p {
57+
font-size: 0.8rem;
58+
margin: 0;
59+
}
60+
61+
.resume span {
62+
font-size: 1.5rem;
63+
font-weight: bold;
64+
}
65+
66+
.form {
67+
text-align: center;
68+
}
69+
70+
.form h2 {
71+
font-size: 1.2rem;
72+
margin: 0;
73+
}
74+
75+
.form div {
76+
margin: 20px 0;
77+
}
78+
79+
.form input[type="submit"] {
80+
font-size: 1rem;
81+
padding: 10px 20px;
82+
border: none;
83+
border-radius: 5px;
84+
margin: 0 10px;
85+
cursor: pointer;
86+
}
87+
88+
.form input[type="submit"]:first-child {
89+
background-color: #4caf50;
90+
color: #fff;
91+
}
92+
93+
.form input[type="submit"]:last-child {
94+
background-color: #f44336;
95+
color: #fff;
96+
}
97+
</style>
998
</head>
1099

11100
<body>

0 commit comments

Comments
 (0)