-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
92 lines (90 loc) · 1.53 KB
/
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
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
* {
margin: 0;
padding: 0;
}
header {
display: flex;
width: auto;
padding: 20px;
background-color: #fff;
/* box-shadow: 0 0 10px rgba(0,0,0, 0.1); */
align-items: center;
justify-content: space-around;
}
.logo img {
max-width: 15%;
margin-right: 480px;
}
.nav-menu ul{
display: flex;
}
.nav-menu li{
list-style: none;
margin-right: 20px;
}
/* .nav-menu li:last-child{
margin-right: 0;
} */
.nav-menu a{
text-decoration: none;
/* font-weight: 900; */
color: #333;
font-family: 'Bitter', serif;
font-size: 1.6rem;
transition: all ease 0.3s;
}
.nav-menu a:hover{
color: #ff7f50;
font-weight: 900;
}
.blog-content{
position: relative;
height: 600px;
background-repeat: no-repeat;
}
.blog-content img{
position: absolute;
top: 0;
/* right: 0%; */
right: 17%;
width: 100%;
height: 100%;
object-fit:contain;
/* opacity: 0.8; */
}
.blogs{
position: absolute;
/* top: 50%;
left: 50%;
transform: translate(-50%,-50%); */
top: 40%;
left: 60%;
text-align: center;
align-items: center;
margin-bottom: 10px;
}
.blog-content h1{
font-family: 'Bitter', serif;
font-size: 1.8rem;
color: #333;
}
.blog-content p{
font-family: 'Bitter', serif;
font-size: 1.2rem;
color: #333;
margin: 10px;
}
.explore-button{
display: inline-block;
text-decoration: none;
background-color: #ff7f50;
color: white;
padding: 10px 25px;
font-size: 20px;
border-radius: 7px;
font-family: 'Bitter', serif;
}
.explore-button:hover{
background-color: #333;
transition: all ease 0.3s;
}