-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
204 lines (199 loc) · 3.25 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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #edfaee;
font-family: montserrat;
}
.wrapper {
max-width: 1000px;
margin: 0 auto;
}
.wrapper h1 {
padding: 20px 0;
text-align: center;
/*text-transform: uppercase;*/
font-family: montserrat;
}
.project {
display: flex;
}
.shop {
flex: 75%;
}
.box {
display: flex;
width: 100%;
height: 200px;
overflow: hidden;
margin-bottom: 20px;
background: #fff;
transition: all .6s ease;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.box:hover {
border: none;
transform: scale(1.01);
}
.box img {
width: 300px;
height: 200px;
object-fit: cover;
}
.content {
padding: 20px;
width: 100%;
position: relative;
}
.content h3 {
margin-bottom: 30px;
}
.content h4 {
margin-bottom: 50px;
}
.btn-area {
position: absolute;
bottom: 20px;
right: 20px;
padding: 10px 25px;
background-color: #3a71a9;
color: white;
cursor: pointer;
border-radius: 5px;
}
.btn-area:hover {
background-color: #76bfb6;
color: #fff;
font-weight: 600;
}
.unit input {
width: 40px;
padding: 5px;
text-align: center;
}
.btn-area i {
margin-right: 5px;
}
.right-bar {
flex: 25%;
margin-left: 20px;
padding: 20px;
height: 400px;
border-radius: 5px;
background: #fff;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.right-bar hr {
margin-bottom: 25px;
}
.right-bar p {
display: flex;
justify-content: space-between;
margin-bottom: 30px;
font-size: 20px;
}
.right-bar a {
background-color: #76bfb6;
color: #fff;
text-decoration: none;
display: block;
text-align: center;
height: 40px;
line-height: 40px;
font-weight: 900;
}
.right-bar i {
margin-right: 15px;
}
.right-bar a:hover {
background-color: #3972a7;
}
@media screen and (max-width: 700px) {
.content h3 {
margin-bottom: 15px;
}
.content h4 {
margin-bottom: 20px;
}
.btn2 {
display: none;
}
.box {
height: 150px;
}
.box img {
height: 150px;
width: 200px;
}
}
@media screen and (max-width: 900px) {
.project {
flex-direction: column;
}
.right-bar {
margin-left: 0;
margin-bottom: 20px;
}
}
@media screen and (max-width: 1250px) {
.wrapper {
max-width: 95%;
}
}
#logo {
background: linear-gradient(to right, #5bad3f 0%,#4a9b32 19%,#4a9b32 77%,#5bad3f 100%);
}
.menu a {
border-left: 1px solid #585858;
color: #fff;
cursor: pointer;
display: block;
font-size: 13px;
font-weight: 700;
height: 45px;
line-height: 45px;
margin: 0;
padding: 0 .9em;
position: relative;
text-decoration: none;
text-shadow: 0 -1px 0 #000;
white-space: nowrap;
}
.main-nav ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
.main-nav li {
float: left;
}
.main-nav li a {
display: block;
color: white;
text-align: center;
padding: 0 .9em;
text-decoration: none;
}
.main-nav li a:hover {
background-color: #111;
}
@media screen{
.container-inline {
text-align: right;
}
}
#edit-submit{
border: 1px solid #ccc;
display: inline-block;
cursor: pointer;
width : 80px;
height : 40px;
color : #111;
text-decoration : none;
line-height : 30px;
text-align : center;
}