-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
179 lines (150 loc) · 2.36 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
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
color: #fff;
font-family: "Barlow Semi Condensed", sans-serif;
font-size: 13px;
font-weight: 500;
background-color: hsl(210, 46%, 95%);
}
.main {
min-height: 100vh;
min-width: 100vw;
margin: 0 auto;
padding: 1vh;
display: flex;
justify-content: center;
align-items: center;
}
.dc,
.pa,
.jw,
.jh,
.kw {
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
padding: 25px;
}
.op:hover {
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}
.secmn {
margin: 0 auto;
padding: 0;
width: 60vw;
height: auto;
display: grid;
justify-content: center;
align-content: center;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 30px;
}
.dc {
grid-column: 1/3;
grid-row: 1/2;
background: hsl(263, 55%, 52%) url("images/bg-pattern-quotation.svg") no-repeat 80% 0%;
}
.jw {
grid-column: 3/4;
grid-row: 1/2;
background-color: hsl(217, 19%, 35%);
}
.jh {
grid-column: 1/2;
grid-row: 2/3;
}
.pa {
grid-column: 2/4;
grid-row: 2/3;
background-color: hsl(219, 29%, 14%);
color: hsl(210, 46%, 95%);
}
.kw {
grid-column: 4/5;
grid-row: 1/3;
overflow: auto;
}
.jh,
.kw {
background-color: hsl(0, 0%, 100%);
color: hsl(217, 19%, 35%);
}
.vg {
font-size: 12px;
}
.jh>.vg,
.kw>.vg {
color: hsla(0, 0%, 50%, 0.5);
}
.kw>.optt,
.jh>.optt {
color: hsl(217, 19%, 70%);
}
.pa>.vg {
color: hsla(210, 46%, 95%, 0.5);
}
.pa>.optt {
color: hsla(210, 46%, 95%, 0.7);
}
.dc,
.jw {
color: hsl(0, 0%, 100%);
}
.dc>.vg,
.jw>.vg {
color: hsla(0, 0%, 100%, 0.5);
}
.dc>.optt,
.jw>.optt {
color: hsla(0, 0%, 100%, 0.7);
}
img {
border: 2px solid hsl(0, 0%, 81%);
border-radius: 100%;
margin: 5px 10px 5px 10px;
height: 32px;
}
.photo{
margin: 0 10px 10px 0;
display: block;
float: left;
}
h2{
clear: both;
}
.dc>img,
.pa>img {
border: 2px solid hsl(263, 100%, 70%);
}
@media only screen and (max-device-width: 850px) {
.secmn {
grid-template-columns: repeat(3, auto);
grid-template-rows: repeat(7, auto);
width: auto;
height: auto;
}
.dc {
grid-column: 2/3;
grid-row: 2/3;
}
.jw {
grid-column: 2/3;
grid-row: 3/4;
}
.jh {
grid-column: 2/3;
grid-row: 4/5;
}
.pa {
grid-column: 2/3;
grid-row: 5/6;
}
.kw {
grid-column: 2/3;
grid-row: 6/7;
}
}