-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstile.css
More file actions
133 lines (123 loc) · 2.31 KB
/
Copy pathstile.css
File metadata and controls
133 lines (123 loc) · 2.31 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*===== Reset default styles =====*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/*===== Container for information block =====*/
#e {
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
pointer-events: none;
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/*===== Active state: visible =====*/
#e.active {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
/*===== Main styles and layout for the page =====*/
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #f7f7f7;
color: #222;
line-height: 1.6;
}
#main {
max-width: 960px;
margin:0 auto;
padding: 40px 20px;
}
/*===== Header and page title =====*/
header {
text-align: center;
margin-bottom: 40px;
}
.page-title {
font-size: 36px;
margin-bottom: 10px;
}
header p {
font-size: 18px;
color: #666;
margin-bottom: 18px;
}
/*===== Main content styling =====*/
main {
margin-bottom: 40px;
}
main h2 {
font-size: 24px;
margin-bottom: 10px;
}
main p {
margin-bottom: 20px;
}
/*===== News block styling =====*/
.news {
background-color: #ffffff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
margin-bottom: 10px;
}
.news h3 {
margin-bottom: 10px;
}
/*===== Footer styling =====*/
footer {
border-top: 1px solid #e0e0e0;
padding-top: 20px;
text-align: center;
color: #777;
font-size: 14px;
}
/*===== Button styling =====*/
.btn {
display: inline-block;
margin-bottom: 20px;
padding: 12px 24px;
background-color: #4f46e5;
color: #ffffff;
text-decoration: none;
border-radius: 6px;
transition: background-color 0.2s eaese;
}
.btn:hover {
background-color: #4338ca;
}
/*===== Responsive styles for tablets =====*/
@media (max-width: 768px) {
.page-title {
font-size: 28px;
}
main h2 {
font-size: 20px;
}
#main {
padding: 30px 15px;
}
.news {
padding: 15px;
}
}
/*===== Responsive styles for mobile phones =====*/
@media (max-width: 480px) {
.page-title {
font-size: 24px;
}
main h2 {
font-size: 18px;
}
.btn {
padding: 10px 18px;
font-size: 14px;
}
#main {
padding: 20px 10px;
}
}