-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
142 lines (117 loc) · 2.15 KB
/
style.css
File metadata and controls
142 lines (117 loc) · 2.15 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
131
132
133
134
135
136
137
138
139
140
141
142
* {
box-sizing: border-box;
}
nav {
text-align: right;
position: fixed
}
body {
font-family: Arial, Helvetica, sans-serif;
}
.main-header {
position: fixed;
background: white;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
width: 100%;
top: 0;
left: 0;
margin: 0 auto;
}
.main-footer {
display: block;
}
.main-content {
margin-top: 94px;
}
/* Float three columns side by side */
.column {
float: left;
max-width:340px;
min-width: 340px;
padding: 0 10px;
}
.col {
margin: auto;
float: left;
max-width:340px;
min-width: 340px;
padding: 0 10px;
}
/* Remove extra left and right margins, due to padding */
.row {
margin: 0 -5px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive columns */
@media screen and (max-width: 600px) {
.column {
width: 100%;
display: block;
margin-bottom: 20px;
}
}
/* Style the counter cards */
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
padding: 16px;
text-align: center;
background-color: #f1f1f1;
}
/*style the card's body*/
div .card-body{background-color: white;
padding: 20px;
}
/*style the button*/
.button {
border: none;
border-radius: 5px;
color: white;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
transition-duration: 0.4s;
cursor: pointer;
}
.button1 {
background-color: white;
color: #007bff;
border: 2px solid #007bff;
}
.button1:hover {
background-color: #007bff;
color: white;
}
.button2 {
background-color: white;
color:#007bff;
border: 2px solid #007bff;
}
.button2:hover {
background-color: #007bff;
color: white;
}
a {
text-decoration: none;
}
.name,
.main-nav,
.main-nav li {
display:inline;
}
.name{float: left;}
.main-nav{float: right;}
.price{
font-weight: bold;
font-size: 25px;
}
ul.main-footer {
list-style-type: none;
}