forked from SteveShaffer/SteveShaffer.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
87 lines (87 loc) · 1.48 KB
/
app.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
* {
font-family: 'Open Sans', sans-serif;
}
body {
margin: 0;
background: rgb(69,72,77); /* Old browsers */
background: linear-gradient(135deg, rgba(69,72,77,1) 0%,rgba(0,0,0,1) 100%); /* W3C */
background-repeat: no-repeat;
background-attachment: fixed;
height: 100%;
width: 100%;
}
h1 {
color: white;
padding: 0.5em 1em 1.5em;
margin: 0;
font-size: 3em;
background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0));
}
h2 {
margin-top: 0;
}
a {
color: white;
}
p > a {
background: linear-gradient(#24b, #28b);
border-radius: 3px;
padding: 2px 4px;
}
#header {
width: 400px;
position: fixed;
top: 0;
bottom: 0;
left: 0;
background: url(steve-cartoon.png) no-repeat;
background-position-x: 58%;
background-position-y: 44%;
}
@media (max-width: 767px) {
#header {
bottom: auto;
right: 0;
width: 100%;
height: 200px;
}
}
#content {
position: absolute;
left: 0;
right: 0;
margin-left: 400px;
}
@media (max-width: 767px) {
#content {
margin-left: auto;
margin-top: 200px;
}
}
.info-box {
position: relative;
width: 42%;
padding: 2%;
float: left;
box-shadow: 0 0 10px lightblue;
margin: 2%;
background-color: #eee;
}
@media (max-width: 767px) {
.info-box {
margin: 4%;
width: 88%;
}
}
.info-box ul {
list-style: none;
padding-left: 0;
}
.info-box li {
display: inline-block;
padding: 1em;
margin: 0.5em;
background: linear-gradient(#24b, #28b);
border-radius: 3px;
box-shadow: 0 0 8px #666;
}