1
0
Files
web-programming/Лаб1-2/css/style.css
2024-04-26 01:05:18 +03:00

68 lines
988 B
CSS

body {
font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
color: #333;
margin: 0;
padding: 0;
}
main {
padding: 20px;
margin-bottom: 70px;
}
.rainbow-button {
position: absolute;
left: 0;
top: 0;
margin: 10px;
}
.main-header {
background-color: #007bff;
color: #fff;
padding: 10px 0;
text-align: center;
}
.main-footer {
background-color: #007bff;
color: #fff;
text-align: center;
padding: 10px 0;
position: fixed;
bottom: 0;
width: 100%;
}
.main-header nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.main-header nav ul li {
display: inline;
margin-right: 20px;
}
.main-header nav ul li a {
color: #fff;
text-decoration: none;
}
h2 {
color: #007bff;
}
h3 {
color: #007bff;
}
p {
line-height: 1.6;
}
img {
display: block;
margin: 0 auto;
}