-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
130 lines (105 loc) · 2.03 KB
/
main.css
File metadata and controls
130 lines (105 loc) · 2.03 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
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
@import url('https://fonts.googleapis.com/css?family=Montserrat:500');
/* we are adding css for navbar here */
*{
box-sizing: border-box;
margin: 0px;
padding: 0px;
font-family: sans-serif;
}
header{
display:flex;
justify-content: space-between;
align-items: center;
padding: 30px 10%;
background-color: rgb(2, 40, 45);
}
li,button{
font-family: "Monteserrat", sans-serif;
font-weight: 500;
font-size: 16px;
color:#e6df22;
text-decoration: none;
background-color: rgb(2, 40, 45);
}
.logo{
width:10%;
cursor:pointer;
background-color: rgb(2, 40, 45);
}
.nav_links{
list-style: none;
}
.nav_links li{
display: inline-block;
padding: 0 20px;
}
.nav_links li a{
transition: all 0.3s ease 0s;
font-family: "Monteserrat", sans-serif;
font-weight: 500;
font-size: 16px;
color:#e6df22;
text-decoration: none;
background-color: rgb(2, 40, 45);
}
.nav_links li a:hover{
color: #07c8f8;
}
button{
padding:9px 25px;
background-color: rgba(0,136,169,1);
border:none;
border-radius: 50px;
cursor:pointer;
transition:all 0.3s ease 0s;
}
button:hover{
background-color: rgba(0,136,169,0.8);
}
/* this is the stlyle css for our main page content */
.main_content{
width: 100%;
}
.container{
width: 1170px;
margin: auto;
display:flex;
flex-wrap:wrap;
justify-content: space-around;
/* border: 1px solid red; */
}
.container_cards{
flex-basis: 23%;
margin: 10px 0px;
background: white ;
text-align: center;
box-shadow: 0px 0px 10px 3px lightgreen;
}
.container_cards h3{
padding: 10px 0px;
}
.container_cards button{
padding: 10px 15px;
margin: 10px 0px;
}
.container_cards:hover{
background: rgb(88, 237, 230);
}
.container_cards:hover button{
background: white;
color: forestgreen;
}
.footer_content{
background-color: rgb(2, 40, 45);
border:1px solid black;
margin-top: 20px;
}
@media only screen and (min-width: 200px) and (max-width: 767px){
.container{
width: 100%;
flex-direction: column;
}
.container_cards{
margin: 10px;
}
}