mirror of https://github.com/r4sas/ntp-homepage
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
6 years ago
|
body {
|
||
|
background-image: url(/images/world.jpg); /* Путь к фоновому изображению */
|
||
|
background-color: #48d1cc; /* Цвет фона */
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
|
||
|
font-size: 28px;
|
||
|
}
|
||
|
|
||
|
#container {
|
||
|
width: 500px; /*Ширина блока*/
|
||
|
height: 130px; /*Высота блока*/
|
||
|
margin: 0 auto;
|
||
|
overflow: visible;
|
||
|
position: absolute;
|
||
|
left: 50%;
|
||
|
top: 50%;
|
||
|
margin-left: -250px; /*Смещаем блок на половину всей ширины влево*/
|
||
|
margin-top: -65px; /*Смещаем блок на половину высоты вверх*/
|
||
|
background: #eee;
|
||
|
color: #222;
|
||
|
padding: 5px; /* Поля вокруг текста */
|
||
|
opacity: 0.80; /* Полупрозрачный фон */
|
||
|
border-radius: 10px;
|
||
|
}
|
||
|
.main {
|
||
|
height: 100%;
|
||
|
}
|
||
|
.main_in_main {
|
||
|
height: 100%;
|
||
|
}
|
||
|
.content {
|
||
|
padding-top: 0px;
|
||
|
height: 200px;
|
||
|
}
|
||
|
|
||
|
td {
|
||
|
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
|
||
|
font-weight: bold;
|
||
|
font-size: 28px;
|
||
|
opacity: 0.80;
|
||
|
}
|