-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
122 lines (121 loc) · 2.15 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
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
@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:200,300,400);
html {
height: 100%;
font-family: Roboto Mono, Helvetica Neue, Segoe UI, trebuchet MS, Arial,
sans-serif;
font-weight: 300;
font-size: 17px;
line-height: 1.6;
margin: 0;
padding: 0;
background: #e4f4fa;
/* background-image: url(./static/bg-tile.jpg); */
background-size: cover;
}
body {
padding: 3em 2.5em 2.5em;
margin: 0;
}
h1 {
padding: 0 0 0.5em;
margin: 0 0 0.75em;
font-weight: 400;
border-bottom: 1px solid #ececec;
color: #222;
font-size: 2em;
}
h1 span {
font-weight: 200;
color: #999;
}
.face {
left: -2.5em;
top: 1.5em;
position: absolute;
width: 80px;
border-radius: 80px;
border: 2px solid #fff;
}
p {
color: #666;
}
a {
color: #5791a6;
font-weight: 400;
text-decoration: underline;
padding: 0 0.25em;
}
a:hover {
text-decoration: none;
color: #355761;
}
canvas {
position: absolute;
top: 0;
left: 0;
z-index: 0;
overflow: hidden;
height: 100vh;
width: 100vw;
display: block;
}
.container {
z-index: 1;
padding: 2em 3.5em;
margin: 0 auto;
position: relative;
max-width: 350px;
background-color: #fff;
border: 2px solid #fff;
box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
}
.project-link {
display: block;
border: 1px solid #f1f1f1;
padding: 0.75em;
margin: 0 0 0.75em;
border-radius: 5px;
text-decoration: none;
color: #222;
font-weight: 300;
}
.project-link:hover {
background: #e5ffff;
color: #355761;
cursor: pointer;
}
.contact {
padding: 0.5em 0 0;
}
.made {
margin-top: 1.5em;
padding-top: 1.25em;
border-top: 1px solid #ececec;
font-size: 0.75em;
text-align: center;
}
ul {
padding: 0;
margin: 0;
list-style-type: none;
}
ul li {
display: inline;
}
@media all and (max-width: 500px) {
body,
html {
font-size: 14px;
}
h1 {
font-size: 1.5em;
}
.container {
padding: 2em 2.5em;
}
.face {
width: 40px;
left: -1.5em;
top: 1.75em;
}
}