-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
executable file
·133 lines (109 loc) · 1.71 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
124
125
126
127
128
129
130
131
132
133
body {
font-family: sans-serif;
margin: 0;
color: white;
}
h1,
h2 {
font-family: Roboto, sans-serif;
}
h1 {
color: white;
font-size: 48px;
margin-bottom: 0;
}
p, ul, ol {
font-size: 20px;
line-height: 1.5;
}
a {
color: #38A88F;
}
header {
text-align: center;
background-size: cover;
transition: transform 2s;
}
header img {
border-radius: 50%;
border: 3px solid #fff;
padding: 0px;
}
/* Style the header */
.header {
padding: 10px 16px;
background: #555;
color: #f1f1f1;
}
/* Page content */
.content {
padding: 16px;
}
/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
position: sticky;
top: 0;
width: 100%
height: 100%;
}
/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 100px;
}
.image {
width:100%;
height:100%;
transition: transform 2s;
}
.header:hover { transform:scale(1.1) }
.padded {
padding: 50px 100px;
}
#about {
background: #FFCA59;
}
#about {
background: black;
}
ul.websites {
padding: 0;
margin-bottom: 1em;
}
ul.websites li {
list-style: none;
display: inline-block;
}
.websites a {
background: #38A88F;
padding: 10px 20px;
color: #fff;
text-decoration: none;
border-radius: 5px;
font-size: 24px;
display: block;
}
.websites a:hover {
background: #666;
}
#links {
background: black;
}
.links h2 {
color: #FF572B;
}
.contact {
background: #666;
text-align: center;
background: url(images/dark_embroidery.png);
}
.contact h2 {
color: white;
}
.contact img {
border-radius: 50%;
width: 100px;
margin: 10px;
}
.contact img:hover {
opacity: .5;
}