-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeneral.css
77 lines (68 loc) · 1.46 KB
/
general.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
/* Project Buttons */
.project-buttons {
width: 100%;
margin: 0 auto 5rem;
}
@media (min-width: 1200px) {
.project-buttons {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 20px;
}
.back-projects,
.view-github {
align-items: center;
justify-items: center;
}
.back-projects {
grid-column: 2 / 3;
align-self: center;
}
.view-github {
grid-column: 3 / 4;
align-self: start;
}
}
.back-projects,
.view-github {
display: block;
margin: 2.5em auto 0;
margin: 2em 10%;
width: auto;
font-size: .8em;
padding: 15px 20px;
border: solid 2px #ffffff;
border-radius: 12px;
text-align: center;
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
letter-spacing: .1em;
box-shadow: 2px 2px 6px rgba(255, 255, 255, 0.2);
}
.back-projects:hover,
.back-projects:focus,
.view-github:hover,
.view-github:focus {
outline: none;
background: #000000;
box-shadow: 2px 2px 6px rgba(255, 255, 255, 0.8);
}
.back-projects::before {
content: '\003C';
margin-right: 5px;
}
.view-github::before {
content: '';
display: inline-flex;
width: 1.2em;
height: 1.2em;
position: relative;
top: .3em;
margin-right: 10px;
margin-top: -.2em;
background-image: url(/github-icon-white.svg);
background-repeat: no-repeat;
background-size: contain;
}
/* End Project Buttons */