-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (113 loc) · 2.66 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
/*
Theme Name: Milwaukee Hacker Hours
Theme URI: https://wordpress.org/themes/twentysixteen/
Author: Cody Lewis
Author URI: https://codylewis.me/
Version: 1.0
*/
/* Typography
-------------------------------------------------- */
* {
font-family: 'Lato';
}
main > h1 {
color: white;
border-bottom: 2px solid white;
margin-bottom: 25px;
}
/* Nav
-------------------------------------------------- */
.navbar {
/*noinspection CssUnknownTarget*/
background: url('/wp-content/themes/mke-hacker-hours-wordpress-theme/img/background.jpg');
}
.navbar hr {
border-top-color: rgba(255, 255, 255, .1);
}
/* Fixes to nav when logged in to WordPress
-------------------------------------------------- */
body.logged-in nav.fixed-top {
margin-top: 46px;
}
@media (min-width: 768px) {
body.logged-in nav.fixed-top {
margin-top: 32px;
}
}
/* Layout
-------------------------------------------------- */
body {
background-color: #0d223f;
padding-bottom: 60px;
}
body > .container {
padding: 80px 15px 0;
}
body.logged-in > .container {
padding-top: 126px;
}
.jumbotron {
background-color: white;
}
@media (min-width: 768px) {
body {
/* Margin bottom by footer height */
padding-bottom: 90px;
}
body > .container {
padding-top: 96px;
}
body.logged-in > .container {
padding-top: 130px;
}
.jumbotron {
padding: 3rem 2rem;
}
}
/* Projects page
-------------------------------------------------- */
.project-preview h2.give-me-ellipsis {
-webkit-line-clamp: 2; /* number of lines to show */
line-height: 33.6px; /* fallback */
max-height: calc(33.6px * 2); /* fallback */
}
.project-preview .card-text.give-me-ellipsis {
-webkit-line-clamp: 3; /* number of lines to show */
line-height: 24px; /* fallback */
max-height: calc(24px * 3); /* fallback */
}
.project-preview a {
text-decoration: none;
color: initial;
}
.project-preview a:hover {
border-bottom: 2px solid #868e96;
transition: 150ms all;
}
/* Helper classes
-------------------------------------------------- */
.give-me-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.display-5 {
font-size: 2.75rem;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
line-height: 60px; /* Vertically center the text there */
background-color: #0a1b32;
text-align: center;
}