GarGerry commited on
Commit
d6587f8
·
verified ·
1 Parent(s): e4c33bc

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +35 -40
style.css CHANGED
@@ -7,44 +7,43 @@
7
 
8
  body {
9
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
10
- background: linear-gradient(135deg, #f7f8fa, #e7ebf0);
11
  display: flex;
12
  justify-content: center;
13
  align-items: center;
14
  height: 100vh;
15
- color: #333;
16
- padding: 10px;
17
  }
18
 
19
  .container {
20
  background: #ffffff;
21
- border-radius: 15px;
22
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
23
- padding: 30px;
24
  width: 100%;
25
- max-width: 400px; /* Lebih besar dan proporsional */
26
  }
27
 
28
  header h1 {
29
- font-size: 24px;
30
  color: #333;
31
  text-align: center;
32
- margin-bottom: 20px;
33
  }
34
 
35
  label {
36
  display: block;
37
- font-size: 14px;
38
  font-weight: bold;
39
- margin-bottom: 5px;
40
  color: #555;
41
  }
42
 
43
  input {
44
  padding: 15px;
45
  width: 100%;
46
- font-size: 16px;
47
- border-radius: 8px;
48
  border: 1px solid #ccc;
49
  margin-bottom: 20px;
50
  text-align: center;
@@ -59,9 +58,9 @@ input {
59
  }
60
 
61
  .input-group select {
62
- padding: 12px;
63
- font-size: 14px;
64
- border-radius: 8px;
65
  border: 1px solid #ccc;
66
  width: 100%;
67
  }
@@ -69,21 +68,21 @@ input {
69
  .swap-group {
70
  display: flex;
71
  justify-content: center;
72
- margin: 10px 0;
73
  }
74
 
75
  #swapButton {
76
  background-color: #ffffff;
77
  color: #007BFF;
78
  border: 2px solid #ccc;
79
- border-radius: 50%; /* Bulat sempurna */
80
- width: 50px; /* Lebih besar */
81
- height: 50px; /* Lebih besar */
82
  display: flex;
83
  justify-content: center;
84
  align-items: center;
85
  cursor: pointer;
86
- font-size: 20px; /* Lebih besar */
87
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
88
  transition: background-color 0.3s ease;
89
  }
@@ -94,33 +93,34 @@ input {
94
 
95
  .result-box {
96
  margin-top: 20px;
97
- font-size: 16px;
98
  font-weight: bold;
99
  color: #333;
100
  background-color: #f8f8f8;
101
- padding: 15px;
102
- border-radius: 8px;
103
  text-align: center;
104
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
105
  }
106
 
107
  button[type="submit"] {
108
  padding: 15px;
109
- background-color: #007BFF;
110
  color: white;
111
  border: none;
112
- border-radius: 8px;
113
- font-size: 16px;
114
  cursor: pointer;
115
  width: 100%;
 
116
  }
117
 
118
  button[type="submit"]:hover {
119
- background-color: #0056b3;
120
  }
121
 
122
  footer {
123
- margin-top: 20px;
124
  font-size: 14px;
125
  color: #666;
126
  text-align: center;
@@ -129,24 +129,19 @@ footer {
129
  /* Responsiveness */
130
  @media (max-width: 768px) {
131
  .container {
132
- padding: 20px;
133
- max-width: 95%; /* Memastikan responsif pada layar kecil */
134
  }
135
 
136
  #swapButton {
137
- width: 45px; /* Sedikit lebih kecil untuk mobile */
138
- height: 45px;
139
- font-size: 18px;
140
  }
141
  }
142
 
143
  @media (min-width: 769px) {
144
  .container {
145
- max-width: 500px; /* Sedikit lebih besar untuk desktop */
146
- }
147
-
148
- #swapButton {
149
- width: 50px;
150
- height: 50px;
151
  }
152
  }
 
7
 
8
  body {
9
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
10
+ background: #87CEEB; /* Warna biru laut */
11
  display: flex;
12
  justify-content: center;
13
  align-items: center;
14
  height: 100vh;
15
+ padding: 20px;
 
16
  }
17
 
18
  .container {
19
  background: #ffffff;
20
+ border-radius: 20px; /* Lebih besar untuk desain modern */
21
+ box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Bayangan lebih tegas */
22
+ padding: 40px; /* Padding lebih besar */
23
  width: 100%;
24
+ max-width: 600px; /* Lebih besar */
25
  }
26
 
27
  header h1 {
28
+ font-size: 28px; /* Ukuran font header lebih besar */
29
  color: #333;
30
  text-align: center;
31
+ margin-bottom: 30px;
32
  }
33
 
34
  label {
35
  display: block;
36
+ font-size: 16px;
37
  font-weight: bold;
38
+ margin-bottom: 8px;
39
  color: #555;
40
  }
41
 
42
  input {
43
  padding: 15px;
44
  width: 100%;
45
+ font-size: 18px; /* Font input lebih besar */
46
+ border-radius: 10px;
47
  border: 1px solid #ccc;
48
  margin-bottom: 20px;
49
  text-align: center;
 
58
  }
59
 
60
  .input-group select {
61
+ padding: 15px;
62
+ font-size: 16px;
63
+ border-radius: 10px;
64
  border: 1px solid #ccc;
65
  width: 100%;
66
  }
 
68
  .swap-group {
69
  display: flex;
70
  justify-content: center;
71
+ margin: 20px 0;
72
  }
73
 
74
  #swapButton {
75
  background-color: #ffffff;
76
  color: #007BFF;
77
  border: 2px solid #ccc;
78
+ border-radius: 50%;
79
+ width: 60px; /* Lebih besar */
80
+ height: 60px; /* Lebih besar */
81
  display: flex;
82
  justify-content: center;
83
  align-items: center;
84
  cursor: pointer;
85
+ font-size: 22px; /* Ukuran font lebih besar */
86
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
87
  transition: background-color 0.3s ease;
88
  }
 
93
 
94
  .result-box {
95
  margin-top: 20px;
96
+ font-size: 18px; /* Font lebih besar */
97
  font-weight: bold;
98
  color: #333;
99
  background-color: #f8f8f8;
100
+ padding: 20px;
101
+ border-radius: 10px;
102
  text-align: center;
103
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
104
  }
105
 
106
  button[type="submit"] {
107
  padding: 15px;
108
+ background-color: #00BFFF; /* Warna biru langit */
109
  color: white;
110
  border: none;
111
+ border-radius: 10px;
112
+ font-size: 18px; /* Font lebih besar */
113
  cursor: pointer;
114
  width: 100%;
115
+ transition: background-color 0.3s ease;
116
  }
117
 
118
  button[type="submit"]:hover {
119
+ background-color: #1E90FF; /* Warna biru hover */
120
  }
121
 
122
  footer {
123
+ margin-top: 30px;
124
  font-size: 14px;
125
  color: #666;
126
  text-align: center;
 
129
  /* Responsiveness */
130
  @media (max-width: 768px) {
131
  .container {
132
+ padding: 30px;
133
+ max-width: 95%;
134
  }
135
 
136
  #swapButton {
137
+ width: 50px;
138
+ height: 50px;
139
+ font-size: 20px;
140
  }
141
  }
142
 
143
  @media (min-width: 769px) {
144
  .container {
145
+ max-width: 700px; /* Ukuran lebih besar untuk desktop */
 
 
 
 
 
146
  }
147
  }