-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (71 loc) · 1.16 KB
/
style.css
File metadata and controls
83 lines (71 loc) · 1.16 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
body {
margin: 0;
font-family: Arial, sans-serif;
display: flex;
height: 100vh;
}
nav {
width: 200px;
background-color: #2c3e50;
color: white;
display: flex;
flex-direction: column;
padding: 10px;
}
nav button {
background: none;
border: none;
color: white;
padding: 10px;
text-align: left;
font-size: 16px;
cursor: pointer;
}
nav button:hover {
background-color: #34495e;
}
main {
flex: 1;
padding: 20px;
overflow-y: auto;
}
.button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.button:hover {
background-color: #45a049;
}
.button:active {
transform: scale(0.98);
}
.news-section {
padding: 1em;
background-color: #f8f8f8;
border-radius: 8px;
box-shadow: 0 0 10px #ddd;
margin-top: 2em;
}
.news-item {
border-bottom: 1px solid #ccc;
padding: 1em 0;
}
.news-item:last-child {
border-bottom: none;
}
.news-item h3 {
margin: 0 0 0.5em 0;
color: #333;
}
.news-item p {
margin: 0;
color: #555;
}