-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNews.css
78 lines (57 loc) · 1.11 KB
/
News.css
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
@font-face {
font-family:nana;
src :url('comicz.ttf');
}
h1{
font-size: 100px;
font-family: comic sans ms;
margin-left: 300px;
margin-top: 800px;
position: absolute;
}
p{
font-family: khand;
font-size: 50px;
margin-top: 1000px;
position: absolute;
}
.ad{
}
/* Navbar----*/
.bg-img {
/* The image used */
background-image: url("Img/News.jpg");
min-height: 380px;
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 45vh;
/* Needed to position the navbar */
position: relative;
}
/* Position the navbar container inside the image */
.container {
position: absolute;
margin: 30px;
width: auto;
}
/* The navbar */
.topnav {
overflow: hidden;
background-color: #333;
}
/* Navbar links */
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 43px;
font-family:nana;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}