-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
60 lines (51 loc) · 1.36 KB
/
index.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
body {
background-color: rgb(41, 40, 40);
color: rgb(221, 221, 221);
margin: 0;
text-align: -webkit-center;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width: 480px) {
.column {
width: 50%;
}
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
.grid {
display: grid;
grid-template-columns: minmax(auto, 40%) 1fr; /* first column no more than 40%, ever (from 500px up) */
min-height: 100px;
}
@media (max-width: 800px) { /* screen width (or the .grid) needs to be at least 500px wide, in order to display the .sidebar, because min-width of 200px is exactly 40% of 500px, so display it when 500px and more, but hide it when less */
.grid {grid-template-columns: 1fr}
.grid .sidebar {display: none}
}
h1 {
font-size: xx-large;
text-align: center;
}
p {
text-align: justify;
}
a {
color: darkgoldenrod
}
span.sep {
margin: 0px 8px;
color: gray
}
img {
display: inline;
margin: 0 auto;
width: auto;
position: relative;
overflow: hidden;
border-radius: 50%;
}