-
Notifications
You must be signed in to change notification settings - Fork 126
/
App.css
121 lines (103 loc) · 2.09 KB
/
App.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
/* App.css */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f9;
color: #333;
}
.App {
text-align: center;
padding: 20px;
position: relative; /* Ensure the App container is positioned relatively for absolute children */
}
.logo-container {
text-align: center;
margin-bottom: 20px;
}
.logo {
max-width: 150px; /* Adjust as needed for logo size */
}
.App-header {
background-color: #f8f9fa;
padding: 20px;
border-bottom: 2px solid #eaeaea;
position: relative; /* To position elements inside it */
margin-bottom: 20px; /* Space between header and content */
}
.App-header h1 {
margin: 0;
color: #ff6f00; /* Core Chain orange color */
}
.btn-primary {
background-color: #ff6f00; /* Core Chain orange color */
color: white;
border: none;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
width: 200px; /* Set a consistent width for all buttons */
height: 40px; /* Set a consistent height for all buttons */
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
margin: 10px; /* Add margin to separate buttons */
}
.btn-primary:hover {
background-color: #e65c00; /* Darker orange for hover effect */
}
.input-field {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
width: 200px;
margin: 5px;
}
.input-field:focus {
border-color: #ff6f00;
outline: none;
}
.amount-ticker {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.amount-ticker p {
margin: 5px 20px;
font-size: 18px;
}
.stake-container,
.unstake-container {
margin: 20px 0;
}
.stake-container input,
.unstake-container input {
width: 200px;
}
.modal-btns {
display: flex;
justify-content: center;
gap: 10px;
}
.disconnect-btn {
position: absolute;
top: 20px;
right: 20px;
}
@media (max-width: 768px) {
.amount-ticker {
flex-direction: column;
align-items: flex-start;
}
.amount-ticker p {
margin: 5px 0;
}
.disconnect-btn {
position: relative;
top: auto;
right: auto;
}
}