-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
151 lines (133 loc) · 2.87 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
/* Ogólne stylizacje */
body {
font-family: Arial, sans-serif;
background-color: #9a9abb;
color: #363649;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
-webkit-tap-highlight-color: transparent;
}
/* Stylizacja karty */
.card {
width: 320px; /* Możesz zmienić szerokość */
aspect-ratio: 2 / 3; /* Proporcja 2:3 */
perspective: 1000px;
position: relative;
}
.card-inner {
width: 100%;
height: 100%;
position: absolute;
transition: transform 0.6s;
transform-style: preserve-3d;
}
.card-front, .card-back {
backface-visibility: hidden;
position: absolute;
width: 100%;
height: 100%;
}
.card-back {
transform: rotateY(180deg);
}
/* Front karty */
.card-front, .card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-front {
background-color: #e0bcba;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* Tył karty */
.card-back {
background-color: #e0bcba;
transform: rotateY(180deg);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* Kontenery wejściowe */
.input-container {
width: 80%;
display: flex;
flex-direction: column;
gap: 15px;
}
input, textarea {
width: 100%;
padding: 10px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
outline: none;
align-items: center;
color: #363649;
}
input:focus, textarea:focus {
border-color: #363649;
box-shadow: 0 0 5px rgba(54, 54, 73, 0.5);
}
/* Radio-container */
.radio-container {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
p {
margin: 10px;
text-align: center;
position: absolute;
top: 15px; /* ustawienie od góry */
left: 50%; /* ustawienie od lewej krawędzi na 50% szerokości */
transform: translateX(-50%); /* przesunięcie o 50% szerokości w lewo, aby wyrównać na środku */
}
/* Stylizacja przycisków */
button {
padding: 10px 20px;
font-size: 14px;
color: white;
background-color: #363649;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
-webkit-tap-highlight-color: #51516a63;
}
/* Stylizacja textarea (tablica szyfrowania) */
textarea {
resize: none;
font-family: monospace;
}
#table{
position: absolute;
left: 15px;
bottom: 15px;
color: #363649;
padding: 5px;
}
#default{
position: absolute;
right: 15px;
bottom: 15px;
color: #363649;
padding: 5px;
}
.selected {
font-weight: bold;
color: black; /* Opcjonalnie możesz dodać zmianę koloru */
}