-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
106 lines (91 loc) · 1.66 KB
/
styles.css
File metadata and controls
106 lines (91 loc) · 1.66 KB
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
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
* {
box-sizing: border-box;
}
body {
display: grid;
margin: 0 auto;
}
header {
padding-left: 2.5vw;
padding-right: 2.5vw;
margin-bottom: 2.5%;
background-color: rgba(54, 155, 221, 0.5);
text-align: center;
font-family: 'Major Mono Display', monospace;
}
/* grid columns one */
.cards {
display: grid;
grid-template-columns: 20% 20% 20% 20%;
grid-column-gap: 5%;
grid-row-gap: 2%;
justify-content: center;
}
/* card */
.proflile {
border-radius: 5px 5px 0 0;
width: 100%;
}
.cards a {
text-decoration: none;
color: black;
}
.card h4 {
margin: .2em;
}
.card p {
margin: .2em;
font-size: .8em;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
width: 100%;
border-radius: 5px;
font-family: 'Major Mono Display', monospace;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.main {
padding: 2px 16px;
}
/* slide in page */
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: rgba(27, 71, 11, 0.78);
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
text-align: center;
font-family: 'Major Mono Display', monospace;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #ffffff;
display: block;
transition: 0.3s;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
.sidenav p {
margin-left: 4em;
margin-right: 4em;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}