forked from RahulBRB/ID-Card-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
163 lines (146 loc) · 3.92 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
body {
font-family: Arial, sans-serif;
background-image: url('https://raw.githubusercontent.com/RahulBRB/ID-Card-Generator/main/assets/bg.gif') !important;
background-color: rgba(0, 0, 0, 0.299);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
h2{
color: rgb(7, 7, 173);
font-weight: 1000;
font-size: 2rem;
}
h4{
color: rgb(7, 7, 173);
font-weight: 700;
}
svg{
position: relative;
top: 8px;
}
.id-card {
margin-top: 35%;
background-color: rgb(255, 255, 255);
box-shadow: 0px 0px 15px 2px rgb(0, 0, 0);
border-radius: 10px;
width: 450px;
padding: 20px;
text-align: center;
}
.preview {
background-color: #f5f5f5;
padding: 2rem;
border-radius: 25px 25px 0px 0px;
border: 1px solid #ccc;
margin-bottom: 0rem;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
height: auto;
line-height: 0.2rem;
text-align: left;
background-color: rgba(64, 64, 165, 0.105);
opacity: 0.8;
}
.inner{
width: 50%;
padding-left: 60px;
}
.image{
width: 150px;
height: 200px;
background-color: rgba(171, 157, 248, 0.836);
overflow: hidden;
border-radius: 15px;
display: flex;
justify-content: center;
align-items: center;
}
#user-image{
width: 100%;
height: 100%;
object-fit: cover;
transform-origin: center center;
}
.change{
border: 2px dashed crimson;
background-color: #bf6d02;
}
.About{
background-color: rgba(64, 64, 165, 0.171);
padding-left: 2rem;
border: 1px solid #ccc;
margin-bottom: 0rem;
height: auto !important;
text-align: left;
line-height: 1.2rem !important;
border-radius: 0px 0px 25px 25px ;
opacity: 0.6;
}
#user-about{
height:auto !important;
}
p{
padding-bottom: 0.5rem;
font-weight: 600;
}
#id-card-form {
margin-top: 20px;
padding-right: 20px; /* Added padding-right */
}
input, textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
width: 100%;
padding: 10px;
background-color: rgb(7, 7, 173);
color: white;
font-weight: 1000;
border: none;
cursor: pointer;
border-radius: 5px;
transition: 0.2s;
}
button:hover {
background-color: grey;
color: black;
transition: 0.2s;
}
.sliders {
box-sizing: border-box;
display: flex;
gap: 1em;
margin-top: 1em;
}
.sliders input[type="range"] {
width: 100%; /* Ocupa todo el ancho de su contenedor */
margin: 0; /* Restablece cualquier margen predeterminado */
box-sizing: border-box; /* Asegura que el padding y el borde estén incluidos en el ancho total */
}
.color-pal{
display: flex;
flex-direction: row;
}
.col{
background-color: #bf6d02;
border:2px solid white;
border-radius: 50%;
padding: 4.2%;
}
#coll-head ,#coll-back , #coll-text{
padding:1%;
width:8%;
}