-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
56 lines (51 loc) · 854 Bytes
/
style.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
/* reset styling start*/
*{
margin: 0;
padding: 0;
}
/* reset ends */
body{
background-color: #f4acb7;
color: black;
}
/* navbar section starts */
/* bringing li items in one line */
.navbar{
padding: 10px 10px;
background-color:#ffe5d9;
position: sticky;
top:0px;
}
.navbar li{
display: inline-block;
list-style-type: none;
padding: 20px;
}
/* removing underline and changing color */
.navbar a{
text-decoration: none;
color: black;
}
/* navbar section ends */
.left,.right{
display: inline-block;
width:50%;
}
.left{
vertical-align: top;
}
img{
width: 100%;
border-radius: 20px;
position: relative;
bottom: 100px;
}
.main{
margin: 10px 50px;
background-color: #ffcad4;
padding: 30px;
border-radius: 5px;
}
h1{
margin-left: 50px;
}