-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (69 loc) · 1.44 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
/* import google font - Josefin Sans */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500;600;700&family=Roboto:wght@100;300;400;500;700;900&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Josefin Sans', sans-serif;
}
body {
margin: 0;
font-family: system-ui, sans-serif;
color: black;
background-color: white;
}
nav {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 0.5rem;
gap: 0.5rem;
border-bottom: solid 1px #aaa;
background-color: #eee;
}
nav a {
display: inline-block;
min-width: 9rem;
padding: 0.5rem;
border-radius: 0.2rem;
border: solid 1px rgb(22, 22, 22);
text-align: center;
text-decoration: none;
color: #1b1b1b;
}
nav a[aria-current='page'] {
color: #000;
background-color: #d4d4d4;
}
main {
padding: 1rem;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
h1 {
font-weight: bold;
font-size: 1.5rem;
}
.projects {
display: flex;
flex-direction: column;
width: 50vw;
}
.project-link {
padding: 10px 30px;
border-radius: 8px;
color: #212121;
text-decoration: none;
border: 2px solid #212121;
margin-top: 5px;
background: linear-gradient(to left, salmon 50%, lightblue 50%) right;
background-size: 200%;
transition: .5s ease-out;
}
.project-link:hover {
background-position: left;
}