Skip to content

Commit be6c836

Browse files
committed
[CodeFactor] Apply fixes
1 parent f763efb commit be6c836

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

css/styles.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ h1 {
1717
* Header
1818
*/
1919
header {
20-
padding: 20px 0 0 0;
20+
padding: 20px 0 0;
2121
background: white;
2222
text-align: center;
2323
display: flex;
@@ -38,7 +38,7 @@ header .submenu #img-cart {
3838
}
3939

4040
/** cart **/
41-
#cart {box-shadow: 0px 1px 5px 0px #adadad;}
41+
#cart {box-shadow: 0 1px 5px 0 #adadad;}
4242
#cart table {border-collapse: collapse;}
4343
#cart table thead tr {background: #f4f4f4;}
4444
#cart table thead th {
@@ -118,7 +118,7 @@ header .submenu:hover #cart::-webkit-scrollbar-thumb:hover {background: #555;}
118118
#courses-list h1 {
119119
text-align: left;
120120
width: fit-content;
121-
margin: 0 auto 25px auto;
121+
margin: 0 auto 25px;
122122
font-size: 30px;
123123
font-weight: 100;
124124
padding: 8px 15px;
@@ -157,7 +157,7 @@ header .submenu:hover #cart::-webkit-scrollbar-thumb:hover {background: #555;}
157157

158158
display: flex;
159159
flex-direction: column;
160-
padding: 0 0 10px 0;
160+
padding: 0 0 10px;
161161
}
162162

163163
.course__item .course_img {
@@ -178,14 +178,14 @@ header .submenu:hover #cart::-webkit-scrollbar-thumb:hover {background: #555;}
178178
overflow: hidden;
179179
}
180180
.course__item .mark img {width: 100%;}
181-
.course__item .mark.m_5 img {margin-top: 0px;}
181+
.course__item .mark.m_5 img {margin-top: 0;}
182182
.course__item .mark.m_4 img {margin-top: -15px;}
183183
.course__item .mark.m_3 img {margin-top: -30px;}
184184
.course__item .mark.m_2 img {margin-top: -45px;}
185185
.course__item .mark.m_1 img {margin-top: -60px;}
186186

187187
.course__item .info__card {
188-
padding: 10px 10px;
188+
padding: 10px;
189189
position: relative;
190190
}
191191
.course__item .info__card h4 {
@@ -248,7 +248,7 @@ header .submenu:hover #cart::-webkit-scrollbar-thumb:hover {background: #555;}
248248
}
249249

250250
#notification_container .content {
251-
box-shadow: 0px 1px 5px 0px #adadad;
251+
box-shadow: 0 1px 5px 0 #adadad;
252252
background: #b2dbff;
253253
padding: 8px;
254254
border-radius: 4px;
@@ -257,7 +257,7 @@ header .submenu:hover #cart::-webkit-scrollbar-thumb:hover {background: #555;}
257257
display: flex;
258258
align-items: center;
259259

260-
margin: 0 0 15px 0;
260+
margin: 0 0 15px;
261261
}
262262

263263
#notification_container .content img {

0 commit comments

Comments
 (0)