-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
94 lines (72 loc) · 1.5 KB
/
main.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
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
body {
background-color: #B7D5F7;
color: #000000;
font-family: "Montserrat", "Calibri", sans-serif;
}
div.container {
background-color: #FFFFFF;
border-radius: 2em;
width: 40em;
max-width: 50em;
min-height: 30vh;
padding-left: 6px;
padding-right: 6px;
position: absolute;
transform: translate(-50%, -50%);
top: 40%;
left: 50%;
display: flex;
justify-content: space-around;
}
div.leftSide, div.rightSide {
display: flex;
align-items: center;
}
article.details {
max-width: 30ch;
}
p.links {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: space-evenly;
flex-flow: column wrap;
}
a.logoAndLink {
font-size: 2em;
line-height: 1;
padding-left: 10px;
padding-right: 10px;
padding-top: 4px;
padding-bottom: 1em;
text-decoration: none;
}
a.logoAndLink > img {
height: 1em;
display: inline-block;
vertical-align: top;
}
/* "Large" screen specific styles. */
@media all and (min-width: 450px) {
._smallScreenOnly {
display: none;
}
div.container {
flex-direction: row;
}
div.leftSide {
max-width: 50%;
}
}
/* "Small" screen specific styles. */
@media not all and (min-width: 450px) {
_.largeScreenOnly {
display: none;
}
div.container {
width: 80vw;
flex-direction: column;
}
}