-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode.css
162 lines (127 loc) · 2.15 KB
/
code.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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* CSS RESET */
*{
margin: 0;
padding: 0;
}
/* CSS VARIABLE */
:root{
--navbarHeight:59px;
}
/* navigation bar */
#navbar{
position: relative;
display: flex;
align-items: center;
}
#navbar::before{
content: "";
background-color: black;
width: 100%;
height: 80%;
top: 0px;
left: 0px;
position: absolute;
z-index: -1;
opacity: 0.7;
}
#logo img{
width: 74px;
height: 66px;
border-radius: 21px;
margin: 19px 15px;
}
#navbar ul{
display: flex;
}
#navbar ul li{
list-style: none;
margin: 5px 5px;
}
#navbar ul li a{
display: block;
text-decoration: none;
padding: 6px 6px;
border-radius: 20px;
color: white;
}
#navbar ul li a:hover{
color: black;
background-color: white;
}
/* home */
#home{
display: flex;
flex-direction: column;
align-items: center;
height: 293px;
padding: 23px 220px;
justify-content: center;
}
#home::before{
content: "";
position: absolute;
background: url(img.jpg) no-repeat center center/cover;
width: 100%;
height: 65%;
z-index: -1;
top:0px;
left: 0px;
opacity: 0.8;
}
/* service section */
.service{
margin: 54px;
display: flex;
}
.service .box{
margin: 36px;
padding: 34px;
border: 2px solid plum;
border-radius: 25px;
background-color: rgb(183, 236, 238);
}
.service .box img{
width: 150px;
height: 123px;
display: block;
margin: auto;
}
/* utility classes */
#home h1{
color: white;
text-align: center;
}
#home p{
color: white;
text-align:justify;
font-size: 1.4rem;
}
.h1_primary{
color: rgb(56, 55, 55);
font-size: 2.8rem;
padding: 2px;
font-family:cursive;
font-weight: bolder;
}
.h_secondary
{
color: rgb(247, 247, 247);
font-size: 1.9rem;
padding: 2px;
font-family:cursive;
font-weight: bolder;
}
.btn{
font-size: 1.2rem;
font-family:sans-serif;
font-weight:bolder;
padding: 2px 18px;
border: 3px solid white;
background-color: violet;
border-radius: 20px;
margin: 15px;
cursor: pointer;
}
.center{
text-align: center;
}