-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnon-technical.css
More file actions
100 lines (91 loc) · 2.07 KB
/
Copy pathnon-technical.css
File metadata and controls
100 lines (91 loc) · 2.07 KB
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
@import url(https://fonts.googleapis.com/css2?family=Space+Mono&display=swap);
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: black;
color: white;
font-family: Space Mono;
font-weight: 500;
font-size: large;
}
h1 {
text-align: center;
padding: 20px;
}
h2 {
color: #ffa500;
font-weight: 900;
}
.event-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
padding: 20px; /* Adjusted padding */
}
.g{
width: 249px;
height: 249px;
}
.h{
width: 249px;
height: 249px;
}
.i{
width: 240px;
height: 240px;
}
.j{
width: 249px;
height: 249px;
}
.event-box {
width: calc(50% - 100px); /* 50% width with margin on each side */
background-color: black;
border-image: linear-gradient(to right, #ff9900, #ff0000);
border-image-slice: 1;
border-image-width: 2; /* Adjust the border width as needed */
border-style: solid;
border-right-width: 5px;
border-bottom-width: 5px;
padding: 10px;
text-align: center;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
margin-bottom: 20px;
animation: eb 10s linear infinite ;
}
@keyframes eb {
0% {
border-image-source: linear-gradient(to right, #ff9900, #ff0000);
}
50% {
border-image-source: linear-gradient(to right, #0033ff, #00ff22);
}
100% {
border-image-source: linear-gradient(to right, #ff9900, #ff0000);
}
}
img {
width: 50%; /* Make the image fill the width of its container */
height: 37.5%; /* Limit image height */
}
/* Clear the margin for the third and fourth event-box */
.event-box:nth-child(3),
.event-box:nth-child(4) {
margin: 0;
}
button {
background-color: #ffa500;
color: black;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #ff9900;
}