forked from jasonwebb/2d-space-colonization-experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (102 loc) · 2.02 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
}
.container {
padding-top: 50px !important;
font-size: 18px;
}
.container .content {
}
@media screen and (max-width: 1024px) {
.container {
padding: 0 20px;
}
}
/** Page heading */
h1 {
font-size: 3rem;
line-height: 3rem;
font-weight: bold;
}
.by-line {
margin-top: 25px;
margin-bottom: 40px;
color: rgba(0,0,0,.6);
}
.by-line a {
color: rgba(0,0,0,.4);
margin-right: 5px;
}
.by-line a:first-of-type {
margin-left: 10px;
}
.by-line a:hover,
.by-line a:focus {
color: rgba(0,0,0,1);
}
p a {
text-decoration: underline;
}
/** Button links to Medium and Github */
.buttons {
margin: 40px 0 30px 0 !important;
}
.button {
border-radius: 0;
margin-right: 20px !important;
}
.button .fab {
margin-right: 10px;
}
.button:focus {
box-shadow: 0 0 0 2px #fff, 0 0 0 5px black !important;
}
/* Full-width image links for experiments */
.experiments-list {
list-style: none;
margin: 40px 0 0 0;
padding: 0;
}
.experiments-list li:not(:last-of-type) {
margin-bottom: 1px;
}
.experiments-list li a {
display: block;
position: relative;
height: 600px;
overflow: hidden;
transition: all .2s linear;
}
.experiments-list li a.has-border {
border: 1px solid rgba(0,0,0,.2);
border-left: 0;
border-right: 0;
}
.experiments-list li a img {
object-fit: cover;
height: 100%;
width: 100%;
}
.experiments-list li a .overlay {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
.experiments-list li a:focus {
outline: 6px dashed #000;
outline-offset: -12px;
}
.experiments-list li a.is-inverted:focus {
outline: 6px dashed #fff;
}
.experiments-list li a .overlay .title {
background-color: rgba(0,0,0,1);
color: #fff;
padding: 15px 35px;
display: inline-block;
}