-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles-u.css
More file actions
101 lines (99 loc) · 1.62 KB
/
styles-u.css
File metadata and controls
101 lines (99 loc) · 1.62 KB
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
@import url("https://fonts.googleapis.com/css?family=Roboto:100,300,400");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
body {
font-family: "Roboto-Light", sans-serif;
width: 768px;
margin: 0 auto;
}
.container {
display: grid;
grid-template-columns: 250px 1fr;
grid-gap: 20px;
grid-auto-rows: minmax(150px, auto);
}
.left-headline {
grid-column: 1;
grid-row: 1;
background-color: #D30001;
color: white;
text-align: center;
align-self: center;
border-radius: 8px;
}
.photo {
height: auto;
width: 200px;
border-radius: 50%;
margin-bottom: 40px;
}
.left-info {
grid-column: 1;
grid-row: 2;
display: flex;
flex-direction: column;
align-items: center;
}
.info {
text-align: center;
width: 100%;
border: 2px solid;
border-color: #D30001;
border-radius: 8px;
}
.right-headline {
grid-column: 2;
grid-row: 1;
align-self: center;
color: #D30001;
}
.right-info {
grid-column: 2;
grid-row: 2 / 3;
}
h1 {
font-family: sans-serif;
font-weight: 700;
letter-spacing: -0.01em;
}
h2 {
color: #261B23;
}
a {
color: #D30001;
text-decoration: none;
}
ul {
list-style-type: square;
padding-left: 15px;
}
@media (max-width: 530px) {
body {
width: auto;
}
.container {
display: flex;
flex-wrap: wrap;
margin: 20px;
}
.left-headline {
order: 1;
background-color: #261B23;
width: 100%;
}
.left-info {
order: 5;
width: 100%;
background-color: #f3f3f3;
text-align: center;
align-self: center;
}
.photo {
display: none;
}
.right-headline {
order: 3;
}
.right-info {
order: 4;
}
}