-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
104 lines (100 loc) · 2.87 KB
/
styles.css
File metadata and controls
104 lines (100 loc) · 2.87 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
/* Общие стили */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
color: #333;
}
header {
background-color: #4CAF50;
color: white;
padding: 1rem;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
h1 {
margin: 0;
font-size: 2rem;
}
main {
padding: 2rem;
}
/* Стили для раздела "Датасеты" */
#datasets {
margin: 2rem auto;
max-width: 800px;
}
#datasets h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
text-align: center;
}
.dataset-buttons {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 1rem;
}
.dataset-button {
background-color: white;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 1rem;
text-align: center;
width: 150px;
transition: transform 0.2s, box-shadow 0.2s;
}
.dataset-button:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.dataset-button img {
max-width: 100%;
height: auto;
margin-bottom: 0.5rem;
}
.dataset-button span {
font-size: 1rem;
color: #333;
}
/* Адаптивность */
@media (max-width: 600px) {
.dataset-buttons {
flex-direction: column;
align-items: center;
}
.dataset-button {
width: 100%;
max-width: 300px;
}
}
/* Центрирование блока загрузки */
#loading {
position: fixed; /* Фиксированное позиционирование для центрирования на весь экран */
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex; /* Используем Flexbox для центрирования */
justify-content: center; /* Горизонтальное центрирование */
align-items: center; /* Вертикальное центрирование */
background-color: rgba(255, 255, 255, 0.85); /* Полупрозрачный фон */
z-index: 1000; /* Задаем высокий z-index, чтобы элемент был поверх других */
flex-direction: column; /* Располагаем дочерние элементы вертикально */
text-align: center; /* Центрируем текст внутри блока */
}
#loading img {
max-width: 100px; /* Ограничиваем максимальную ширину изображения */
margin-bottom: 1rem; /* Добавляем отступ между изображением и текстом */
}
#loading p {
font-size: 1.2rem; /* Увеличиваем размер шрифта для текста */
color: #333; /* Устанавливаем цвет текста */
}