DOCTYPE html html head lang en meta charset UTF-8 title Cheerleading t

  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
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Cheerleading</title>
<link rel="stylesheet" href="styles/main.css"/>
</head>
<body class="main-background">
<h1 class="img-text">CHEERLEADING</h1>
<div class="menu main-menu">
<a href="#" class="menu-item main-menu-item img-text">Новости</a>
<a href="#" class="menu-item main-menu-item img-text">Номинации</a>
<a href="#" class="menu-item main-menu-item img-text">Команды</a>
<a href="#" class="menu-item main-menu-item img-text">Правила</a>
</div>
</body>
</html>
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
html, body {
font-size: 10px;
color: black;
font-family: Tahoma serif;
}
body.background{
background-color: rgb(229, 229, 229);
}
.header {
width: 100%;
background-color: #7B1FA2;
}
body.main-background {
background: linear-gradient(rgba(0, 0, 0, 0.8),
rgba(0, 0, 0, 0.8)),
url(../img/cheer1.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
a{
text-decoration: none;
color: inherit;
}
h1.img-text{
color: orangered;
font-size: 8em;
text-align: center;
padding: 1.5em;
font-family: Verdana serif;
text-shadow: 2px 2px 2px white;
}
.img-text{
color: white;
text-shadow: 0 1px 0 black;
}
.menu.main-menu {
background-color: transparent;
padding: 0.5em;
}
.main-menu-item {
font-size: 3.5em;
}
.menu-item.main-menu-item:hover{
background-color: transparent;
border-bottom: 2px solid orangered;
}
.menu {
height: 5em;
background-color: #7B1FA2;
text-align: center;
list-style-type: none;
display: flex;
justify-content: center;
align-items: center;
}
.menu-item {
font-size: 3em;
padding:0 1em;
font-family: Tahoma sans-serif ;
color: white;
display: inline-block;
height: 100%;
line-height: 1.5;
}
.menu-item:hover{
cursor: pointer;
background-color: #448AFF;
}