-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathstyles.css
123 lines (101 loc) · 1.99 KB
/
styles.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
* {
box-sizing: border-box;
font-family: "Open Sans", sans-serif;
}
body {
background-image: url("./background.jpg");
background-size: cover;
background-position: center center;
background-attachment: fixed;
background-repeat: no-repeat;
margin: 0;
}
header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
text-align: right;
text-shadow: 1px 1px 5px #000;
color: #EEE;
overflow: hidden;
}
header canvas {
padding: 1rem;
margin-left: 1rem;
border-left: 1px solid black;
}
main {
background-color: #CCCCE0;
color: #000;
display: block;
margin: 0;
padding: 1rem 2rem;
overflow: hidden;
}
h1, h2, h3, h4, h5, h6 { margin-bottom: .3rem; }
p, ol { margin-top: 0; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
ul {
margin-top: 0;
padding-left: 1.5rem;
}
code {
background-color: #B0B0B0;
border-radius: .3rem;
padding: 0 .2rem;
}
footer {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #BDC4D0;
text-align: center;
font-size: .75rem;
padding: .5rem 1rem;
margin: 0;
}
footer p { margin: 0; }
#author {
width: fit-content;
padding: 0 .5rem .5rem
}
#name { font-size: 1rem; }
#role { font-size: .8rem; }
#location { font-size: 0.7rem; }
#a[rel="license"], #a[rel="license"] img {
display: block;
height: 1.5rem;
border: 0;
}
@media only screen and (max-width: 700px) {
header { flex-direction: column; }
header div { text-align: center; }
header canvas {
border-left: 0;
border-top: 2px solid black;
/* Disable clicking and dragging on canvas because it prevents scrolling on touchscreens */
pointer-events: none;
}
}
/* Repo Styles */
#repo-examples {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.repo-example {
border-radius: .1rem;
min-width: 4.5rem;
padding: .25rem .5rem;
margin: .2rem;
background-color: #EEE;
color: black;
text-align: center;
font-size: 1.2rem;
}