Skip to content

Commit 31b9da4

Browse files
authored
Add files via upload
1 parent 755b38f commit 31b9da4

28 files changed

+7716
-487
lines changed

css/books-styles.css

+649
Large diffs are not rendered by default.

css/catalogue-styles.css

+587
Large diffs are not rendered by default.

css/common-styles.css

+45-99
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ html {
22
-webkit-box-sizing: border-box;
33
box-sizing: border-box;
44
scroll-behavior: smooth;
5+
font-size: 16px;
56
}
67

78
*,
@@ -14,6 +15,7 @@ html {
1415
a {
1516
color: inherit;
1617
text-decoration: none;
18+
cursor: pointer;
1719
}
1820

1921
body {
@@ -29,14 +31,28 @@ body::-webkit-scrollbar {
2931
}
3032

3133
img {
32-
width: 100%;
34+
max-width: 100%;
35+
}
36+
37+
input[type="number"]::-webkit-outer-spin-button,
38+
input[type="number"]::-webkit-inner-spin-button {
39+
-webkit-appearance: none;
40+
margin: 0;
41+
}
42+
input[type="number"] {
43+
-moz-appearance: textfield;
44+
}
45+
input[type="number"]:hover,
46+
input[type="number"]:focus {
47+
-moz-appearance: number-input;
3348
}
3449

3550
.container {
51+
position: relative;
3652
width: 100%;
3753
max-width: 1700px;
3854
margin: 0 auto;
39-
padding: 0 50px;
55+
padding: 0 var(--container-padding);
4056
}
4157

4258
.ul {
@@ -45,12 +61,18 @@ img {
4561
list-style-type: none;
4662
}
4763

48-
.text {
64+
.heading {
4965
margin: 0;
66+
margin-bottom: 25px;
67+
font-weight: 400;
68+
font-size: 48px;
69+
line-height: 1;
70+
color: #333;
5071
}
5172

52-
/* .link {
53-
} */
73+
.text {
74+
margin: 0;
75+
}
5476

5577
.btn {
5678
cursor: pointer;
@@ -59,110 +81,36 @@ img {
5981
color: #fff;
6082
}
6183

62-
.burger {
63-
position: relative;
64-
width: 36px;
65-
height: 28px;
66-
flex-shrink: 0;
67-
}
68-
.burger [class*="bar-"] {
69-
position: relative;
70-
background: #fff;
71-
display: block;
72-
height: 13%;
73-
margin-bottom: 24%;
74-
transition-property: background-color, transform;
75-
transition-duration: 0.2s;
76-
transition-timing-function: ease;
77-
}
78-
.burger:hover [class*="bar-"] {
79-
background-color: #9d5cd0;
80-
}
81-
.burger:focus,
82-
.burger:focus-visible {
83-
outline: none;
84-
}
85-
.burger:focus [class*="bar-"],
86-
.burger:focus-visible [class*="bar-"] {
87-
background-color: #9d5cd0;
88-
outline: none;
89-
}
90-
.burger:active:focus,
91-
.burger:active:focus-visible {
92-
outline: none;
93-
}
94-
.burger:active:focus [class*="bar-"],
95-
.burger:active:focus-visible [class*="bar-"] {
96-
background-color: #7943a4;
97-
outline: none;
98-
}
99-
100-
.burger .burger__bar-top {
101-
width: 100%;
102-
}
103-
.burger .burger__bar-mid {
104-
width: 78%;
105-
}
106-
.burger .burger__bar-bot {
107-
width: 66%;
108-
margin-bottom: 0;
109-
}
110-
.burger.is-active [class*="bar-"] {
111-
transform: scaleX(0%);
112-
}
113-
114-
.burger__closer {
115-
position: relative;
116-
width: 29px;
117-
height: 29px;
118-
margin-bottom: 46px;
119-
cursor: pointer;
120-
}
121-
.burger__closer [class*="closer-"] {
84+
.visually-hidden {
85+
width: 1px;
86+
height: 1px;
87+
clip: rect(1px, 1px, 1px, 1px);
88+
opacity: 0;
12289
position: absolute;
123-
top: 44.8%;
124-
left: -11%;
125-
background: #fff;
126-
width: 127.6%;
127-
display: block;
128-
height: 10.3%;
129-
transition-property: background-color, transform;
130-
transition-duration: 0.2s;
131-
transition-delay: 0.2s;
132-
transition-timing-function: ease;
133-
}
134-
.burger__closer-l {
135-
transform: rotate(45deg);
13690
}
137-
.burger__closer-r {
138-
transform: rotate(-45deg);
91+
.complete-hidden {
92+
width: 1px;
93+
height: 1px;
94+
clip: rect(1px, 1px, 1px, 1px);
95+
opacity: 0;
96+
visibility: hidden;
97+
position: absolute;
13998
}
14099

141-
.search {
142-
position: relative;
143-
background-color: transparent;
144-
padding: 0;
145-
padding-left: 0;
146-
padding-bottom: 2px;
147-
border: none;
148-
border-bottom: 1px solid #fff;
149-
color: #fff;
150-
}
151-
.search::placeholder {
152-
color: #fff;
153-
opacity: 0.85;
100+
@media screen and (max-width: 1920px) {
101+
/* for adaptive */
154102
}
155103

156104
@media screen and (max-width: 576px) {
157-
.container {
158-
padding: 0 15px;
105+
.heading {
106+
font-size: 28px;
107+
margin-bottom: 16px;
159108
}
160109

161110
.burger {
162111
width: 25px;
163112
height: 18px;
164113
}
165-
166114
.burger [class*="bar-"] {
167115
height: 11.1%;
168116
margin-bottom: 24%;
@@ -176,12 +124,10 @@ img {
176124
.burger .burger__bar-bot {
177125
width: 40%;
178126
}
179-
}
180127

181-
@media screen and (max-width: 320px) {
182128
.burger__closer {
183129
width: 15px;
184130
height: 15px;
185131
margin-bottom: 21px;
186132
}
187-
}
133+
}

0 commit comments

Comments
 (0)