-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
122 lines (104 loc) · 2.1 KB
/
styles.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
body {
font-family: 'Arial', sans-serif;
background-image: url('blockchain-bg.jpeg');
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
margin: 0;
padding: 0;
}
.container {
background-color: rgba(255, 255, 255, 0.8);
max-width: 800px;
margin: 50px auto;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
text-align: center;
color: #333;
}
h1 {
font-size: 28px;
margin-bottom: 20px;
color: #007BFF;
}
.button-container {
position: sticky;
top: 0;
background-color: white;
z-index: 1;
}
.button {
padding: 10px 20px;
font-size: 16px;
border: none;
cursor: pointer;
border-radius: 5px;
margin: 5px;
color: #fff;
}
.mine-button {
background-color: #6EE7B7;
}
.chain-button {
background-color: #007BFF;
}
.validate-button {
background-color: #FF6B6B;
}
.reset-button {
background-color: #000;
color: #fff;
}
.button:hover {
transform: scale(1.05);
transition: transform 0.2s ease-in-out;
}
.chain {
display: flex;
flex-direction: column;
align-items: center;
}
.blockchain {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
gap: 20px;
padding: 20px;
}
.block {
background-color: #f2f2f2;
border: 2px solid #333;
border-radius: 5px;
padding: 20px;
margin: 10px;
width: 100%;
text-align: left;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
box-sizing: border-box;
}
.block-title {
font-size: 20px;
color: #007BFF;
}
.block-content {
margin: 20px 0;
}
.block .block-content {
max-width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.block-link {
text-decoration: none;
color: #fff;
background-color: #007BFF;
padding: 6px 12px;
border-radius: 8px;
transition: background 0.2s;
}
.block-link:hover {
background-color: #0056b3;
}