-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
119 lines (110 loc) · 2.17 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
* {
box-sizing: border-box;
}
body {
background-color: antiquewhite;
display: block;
}
header {
text-align: center;
margin-top: 30px;
margin-bottom: 30px;
border-bottom: 2px;
border-bottom: 5px solid black;
margin-left: 40px;
margin-right: 40px;
}
.grid_container1 {
display: grid;
grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
grid-auto-rows: 380px;
grid-auto-flow: dense;
max-height: 600px;
max-width: 1900px;
margin-left: 40px;
margin-right: 40px;
margin-bottom: 60px;
margin-top: 60px;
}
p {
font-size: 20px;
font-family: 'Playfair Display', serif;
}
.grid_container2 {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-auto-flow: dense;
max-height: 1000px;
max-width: 1800px;
margin-left: 40px;
margin-right: 40px;
}
@media (max-width: 600px) {
.grid_container2 {
display: grid;
grid-template-rows:repeat(auto-fit, minmax(400px, 1fr 1fr 1fr));
grid-auto-columns: 380px;
grid-auto-flow: dense;
max-height: 600px;
max-width: 1900px;
margin-left: 40px;
margin-right: 40px;
margin-bottom: 60px;
margin-top: 60px;
}
.img2 {
grid-column: 1;
grid-row: 1;
}
.img1 {
grid-column: 1;
grid-row: 1;
}
}
.profil_container {
display: flex;
justify-content: center;
}
#profil {
width: auto;
}
.text {
padding: 15px;
}
img {
width: 100%;
height: 100%;
}
.img2 {
grid-column: span 2;
grid-row: span 2;
}
h1 {
font-family: 'Playfair Display', serif;
font-weight: bolder;
font-size: 35px;
color: darkred;
}
.artboard {
margin-left: 40px;
margin-right: 40px;
}
.video {
display: grid;
grid-template-columns:repeat(auto-fit, minmax(400px, 1fr));
grid-auto-rows: 380px;
grid-auto-flow: dense;
max-height: 1600px;
max-width: 1800px;
object-fit: cover;
place-items: center;
margin-left: 40px;
margin-right: 40px;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr;
max-width: 1800px;
margin-left: 40px;
margin-right: 40px;
}