-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
170 lines (137 loc) · 2.7 KB
/
style.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/*
Please ignore the !important tags for now - I imported the Bootstrap library and it magically made everything look
so nice. The downside is that it overrides some of my own styles - so I quickly fixed them by adding !important. CSS gods please look away.
*/
/* MOBILE DEVICES */
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body {
font-family: 'Open Sans', sans-serif;
background-color: #f5f5f5;
margin-top: 5% !important;
}
#container {
margin: 0 auto;
width: 65% !important;
}
.column {
text-align: center;
}
#projects > ul {
list-style: none;
padding-top: 5px;
padding-left: 0;
}
#footer {
text-align: center;
color: #999999;
font-size: 75%;
}
#profile-photo {
width: 200px;
margin-bottom: 16px;
}
.circle-image {
border-radius: 50%;
}
.tagline {
font-size: 130%;
margin-top: 3px;
}
#col-left > p > a {
padding-right: 4px;
}
#projects > ul > li {
padding-bottom: 5px;
}
.row {
margin-left: 0px !important;
margin-right: 0px !important;
}
#col-left {
margin: 0 auto;
}
/* DESKTOP DEVICES */
@media (min-width: 600px) {
hr {
visibility: visible !important;
/*background-image: -webkit-linear-gradient(left, rgba(0,0,0,0.75), rgba(0,0,0,0.75), rgba(0,0,0,0));
background-image: -moz-linear-gradient(left, rgba(0,0,0,0.75), rgba(0,0,0,0.75), rgba(0,0,0,0));
background-image: -ms-linear-gradient(left, rgba(0,0,0,0.75), rgba(0,0,0,0.75), rgba(0,0,0,0));
background-image: -o-linear-gradient(left, rgba(0,0,0,0.75), rgba(0,0,0,0.75), rgba(0,0,0,0));*/
text-align: left;
}
.row:after {
content: " ";
display: table;
clear: both;
}
.column {
box-sizing: border-box;
float: left;
}
#col-left {
width: 30%;
padding: 0 20px;
}
#col-right {
width: 70%;
padding: 0 20px;
text-align: left;
}
#container {
width: 65%;
}
#projects > ul {
padding-left: 40px;
list-style: disc;
}
#footer {
position: fixed;
bottom: 0;
text-align: right;
color: #999999;
width: 98%;
}
/*
This should dynamically resize with the browser.
*/
#profile-photo {
max-width: 100%;
height: auto;
width: 280px; /* default size, before resizing with the browser */
}
.tagline {
font-size: 150%;
}
}
@media (max-width: 1300px) {
#container {
width: 100%;
}
}
h1 {
margin-top: 2.5% !important;
margin-bottom: 0 !important;
font-size: 300%;
font-weight: 500;
}
h2 {
margin-bottom: 0;
}
a {
text-decoration: none;
font-weight: bold;
color: #000000;
}
p {
margin-top: 0px;
}
hr {
visibility: hidden;
border: 0;
height: 1px;
width: 75%;
margin-left: 0;
margin-top: 3px !important;
margin-bottom: 3px !important;
}