-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (95 loc) · 1.78 KB
/
style.css
File metadata and controls
112 lines (95 loc) · 1.78 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
107
108
109
110
111
112
html, body {
margin: 0;
padding: 0;
height: 100%;
}
body {
font-family: "Roboto", sans-serif;
}
nav {
display: flex;
background-color: rgb(255, 255, 255);
padding: 1rem;
display: flex;
gap: 2rem;
border: 0.2rem solid black;
top: 0.5rem;
left: 0.5rem;
right: 0.5rem;
position: fixed;
height: 50px;
box-shadow: 0 2px 4px 0 rgba(0,0,0,.2)
}
nav > a {
padding: 1rem;
}
nav > p {
padding-left: 0.5rem;
margin-right: auto;
}
a {
color: rgb(0, 0, 0);
text-decoration: none;
}
a:hover {
color: gray;
}
main {
display: flex;
padding-top: 100px;
background-color: rgb(255, 255, 255);
width: 100%;
height: calc(100% - 100px);
justify-content: center;
align-items: center;
flex-direction: column;
}
main > h1 {
font-size: clamp(0.9rem, 3vw, 2.5rem);
/* background-color:black;
color: white; */
}
.flat-list {
list-style: none;
padding: 0;
margin: 0;
}
.flat-list > a {
margin: 5px;
}
#projects {
/* display: flex; */
width: 100%;
/* flex-direction: column; */
align-items: center;
justify-content: center;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
}
#projects > article{
max-width: 800px;
padding: 1rem;
display: flex;
border: 0.2rem solid black;
margin: 0.5rem;
display: flex;
flex-direction: column;
}
#projects > article > ul,
#projects > article > h1 {
text-align: center
}
#projects > article > p {
margin-left:10px;
margin-right:10px;
}
/* @media only screen and (min-width: 900px) {
#projects {
flex-direction: row;
flex-wrap: wrap;
justify-content: center
}
#projects > article{
max-width: 380px;
}
} */