forked from CodeYourFuture/HTML-CSS-Coursework-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (68 loc) · 1.41 KB
/
Copy pathstyle.css
File metadata and controls
93 lines (68 loc) · 1.41 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
/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
body{
background-color: blanchedalmond;
color: brown;
}
h1{
font-size: 70px;
line-height: 90px;
margin: 0;
padding: 0;
font-size: 2em;
font-weight: bold;
text-align: center;
}
h1, h2 {
font-weight: 400;
font-family: DauphinPlain;
}
h4{
text-align: center;
}
hr{
height: 1px;
background-image: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,.75),rgba(0,0,0,0));
border-style: inset;
border-width: 1px;
}
p{
width: 45%;
text-align: justify;
margin: 0 0 10px 0;
padding: 2px 20px 20px 20px;
}
nav{
background:rgba(130, 130, 243, 0.6);
border-radius:2px;
}
nav ul{
float:right;
margin:20px;
}
nav ul li{
display:inline-block;
line-height:80px;
margin:0 20px;
}
nav ul li a{
color:blue;
font-size:17px;
text-transform:uppercase;
padding:5px 5px 5px 5px;
border-radius:10%;
}
a.active,a:hover{
background:rgb(228, 8, 209);
color:blue;
transition:.5s;
}
ul li:first-child {
font-weight: bold;
}