-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (110 loc) · 1.8 KB
/
style.css
File metadata and controls
111 lines (110 loc) · 1.8 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
101
102
103
104
105
106
107
108
109
110
111
body {
margin: 0;
padding: 0;
background-color: #0f0f0f;
font-family: 'Cairo', sans-serif;
color: #fff;
}
header {
background: linear-gradient(to left, #0056b3, #003366);
padding: 20px;
text-align: center;
}
header h1 {
margin: 0;
font-size: 36px;
color: #fff;
}
header p {
margin: 5px 0 0;
font-size: 16px;
color: #e0e0e0;
}
nav {
background: #1a1a1a;
display: flex;
justify-content: center;
gap: 20px;
padding: 10px 0;
border-bottom: 2px solid #0056b3;
}
nav a {
color: #ccc;
text-decoration: none;
font-size: 14px;
}
nav a:hover {
color: #00aaff;
}
section#news {
padding: 40px 20px;
}
section#news h2 {
text-align: center;
font-size: 30px;
color: #00aaff;
margin-bottom: 40px;
}
.news-container {
max-width: 900px;
margin: auto;
display: flex;
flex-direction: column;
gap: 25px;
}
.news-card {
background: #1c1c1c;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}
.news-card:hover {
transform: translateY(-5px);
}
.news-card img {
width: 100%;
height: auto;
border-radius: 10px;
object-fit: cover;
margin-bottom: 15px;
border: 2px solid #0056b3;
}
.news-card h3 {
margin: 0 0 10px;
font-size: 22px;
color: #fff;
}
.news-card p {
font-size: 15px;
color: #ccc;
margin: 5px 0;
}
.news-date {
font-size: 14px;
color: #00aaff;
}
.news-date strong {
color: #ccc;
}
.video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.video-container iframe {
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
width: 100%;
height: 100%;
border: none;
}
.video-description {
margin-top: 30px;
font-size: 20px;
line-height: 1.8;
color: #ddd;
}