esoe
2 years ago
2 changed files with 42 additions and 11 deletions
@ -1,16 +1,44 @@
@@ -1,16 +1,44 @@
|
||||
body { |
||||
font-family: Arial; |
||||
padding: 20px; |
||||
background: #f1f1f1; |
||||
} |
||||
div { |
||||
background-color: rgb(181, 122, 236); |
||||
padding: 5px; |
||||
margin: 5px; |
||||
} |
||||
.header{ |
||||
position: relative; top: 20px; |
||||
display: block; |
||||
padding: 30px; |
||||
font-size: 40px; |
||||
text-align: center; |
||||
background: rgb(181, 122, 236); |
||||
/*position: relative; top: 20px;*/ |
||||
} |
||||
.controls{ |
||||
padding-left: 12px; |
||||
position: relative; left: 20px; |
||||
/*position: relative; left: 20px;*/ |
||||
list-style: none; /* Отключение отображения маркеров. */ |
||||
width: 25%; /* Ширина меню. */ |
||||
float: left; |
||||
/*padding-left: 20px;*/ |
||||
} |
||||
.controls li { |
||||
margin: 5px; /* Отступ между блоками по высоте, необходимый для того чтобы пункты меню не сливались */ |
||||
font-family: Verdana, Arial, Helvetica, sans-serif; /* Тип шрифта пунктов меню */ |
||||
font-size: 14px; /* Размер текста меню */ |
||||
} |
||||
.controls li a{ |
||||
display: block; /* Изменение отображения на блочное для того, чтобы иметь возможность задать внутренние отступы. */ |
||||
padding: 4px 15px; /* Отступы внутри блоков. */ |
||||
background: #0db5b5; /* Цвет блоков меню. */ |
||||
color: #3f3f3f; /* Цвет текста в блоках меню. */ |
||||
text-decoration: none; /* Устранение подчёркивания ссылок. */ |
||||
position: relative; /* Это необходимо при использовании Internet Explorer 6 для того, чтобы ссылка по всей своей площади была «кликабельной». */ |
||||
} |
||||
.button{ |
||||
background-color: rgb(65, 241, 188); |
||||
.controls li a:hover { |
||||
background: #92d3d3; /* Цвет фона при наведении курсора мыши */ |
||||
color: #6b6b6b; /* Цвет текста при наведении курсора мыши */ |
||||
} |
||||
.mainframe{ |
||||
background-color: aliceblue; |
||||
|
Loading…
Reference in new issue