forked from martinez101126/NinjaCodeTv
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (105 loc) · 1.47 KB
/
style.css
File metadata and controls
127 lines (105 loc) · 1.47 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
html{
background: gray;
}
body{
color: white;
}
.container{
width: 1020px;
margin: 0 auto;
background: white;
}
.logo{
text-align: center;
}
.logo img{
width: 300px;
height: 100px;
transition:all 1s ease;
-webkit-transition:all 1s ease;
}
.logo img:hover{
height: 133px;
width: 400px;
}
a{
text-decoration: none;
color: white;
}
nav{
width:100%;
background: #000;
margin-top: -20px;
}
nav li{
list-style: none;
width: 15%;
display: inline-block;
margin-left: 30px;
}
nav li:hover{
cursor: pointer;
background: red;
}
nav li a{
padding: 15px 0;
display: block;
text-align: center;
}
.banner{
width: 100%;
height: 150px;
background: red;
margin-bottom: 20px;
opacity: .7;
}
aside{
width: 25%;
vertical-align: top;
display: inline-block;
background: white;
}
aside .banners{
background: orange;
vertical-align: top;
margin: 10px 0 10px 10px;
width: 90%;
height: 150px;
box-shadow: 0px 2px 5px #000;
}
.post{
background: white;
width: 74%;
display: inline-block;
vertical-align: top;
}
.post article{
background: gray;
width: 90%;
height: 200px;
margin: 10px 0 10px 40px;
box-shadow: -2px 2px 5px #000;
}
footer{
background: #000;
}
footer .new{
width: 30%;
margin-left: 25px;
border-bottom: 1px solid black;
margin-top: 5px;
display: inline-block;
}
footer .copy{
width: 100%;
background: #585858;
}
footer .copy p{
padding: 10px 15px;
display: block;
}
@media screen and ( max-width: 720px){
nav {
width: 100%;
}
}