-
Notifications
You must be signed in to change notification settings - Fork 0
/
manga.css
124 lines (107 loc) · 1.96 KB
/
manga.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
@font-face {
font-family: "OpenSans";
src: url("./assets/OpenSans-Bold.ttf") format("truetype");
font-weight: 700;
}
@font-face {
font-family: "OpenSans";
src: url("./assets/OpenSans-Regular.ttf") format("truetype");
font-weight: 400;
}
@font-face {
font-family: "OpenSans";
src: url("./assets/OpenSans-SemiBold.ttf") format("truetype");
font-weight: 600;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main {
width: 100%;
height: 100vh;
display: grid;
grid-template-columns: 1fr auto;
grid-gap: auto;
font-family: "OpenSans";
background-image: url('./assets/mangaBG.jpg');
background-size: cover;
background-repeat: no-repeat;
color: #fff;
}
.left {
position: relative;
display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
padding: 0 50px;
}
.back {
position: absolute;
top: 30px;
left: 40px;
width: 50px;
}
.back img {
width: 100%;
height: 100%;
}
.title {
font-size: 3em;
margin-bottom: 10px;
font-weight: 700;
}
.text {
font-size: 1.7em;
line-height: 1.3em;
font-weight: 400;
margin: 30px 0;
text-align: justify;
}
.button {
display: block;
margin: 0 auto;
text-decoration: none;
width: 300px;
padding: 18px;
border-radius: 10px;
background-color: rgba(0,0,0,0);
border: 3px solid #fff;
color: #fff;
font-size: 1.5em;
cursor: pointer;
}
.divider {
margin: 30px auto;
width: 50%;
}
.right {
height: 100vh;
}
.right img {
height: 100%;
}
@media screen and (max-width: 1300px) {
.main {
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
grid-gap: 40px;
height: auto;
justify-items: center;
}
.left {
width: 100%;
padding: 0 30px;
padding-top: 85px;
}
.right {
width: 100%;
}
.right img {
display: block;
margin: 0 auto;
object-fit: contain;
}
}