-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
114 lines (91 loc) · 1.86 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
html {
box-sizing: border-box;
/* Set font size for easy rem calculations
* default document font size = 16px, 1rem = 16px, 100% = 16px
* (100% / 16px) * 10 = 62.5%, 1rem = 10px, 62.5% = 10px
*/
font-size: 62.5%;
scroll-behavior: smooth;
}
nav{
font-size:2rem;
background:linear-gradient(orange,brown);
width:100%;
display:flex;
justify-content:center;
top:0;
left:0;
position:fixed;
font-family:sans-serif;
font-weight:bold;
}
.nav-link{text-decoration:none;
color:white;
padding:2rem;}
nav>ul{
list-style:none;
display:flex;
justify-content:space-evenly;
}
body{
margin:auto;
}
#projects-grid{
padding:8rem;
width:100%;
background:linear-gradient(darkblue, midnightblue);
display:flex;
overflow:hidden;
justify-content:center;
gap:6rem;
flex-wrap:wrap;
align-items:space-between;
}
.tile{width:400px;
height:300px;
object-fit:cover;
border:ghostwhite solid;
display:block;
}
h1, h1, h3{text-align:center;
font-size:6rem;
font-weight:normal;
color:whitesmoke;
font-weight:bold;
font-family:sans-serif;}
#project-tile{border:solid black;}
img{overflow:hidden;}
#welcome-section>p{
font-family:sans-serif;
text-align:center;
font-size:1.6rem;
color:lightgray;
}
img{
display:block;}
.project-title{
font-family:sans-serif;
text-align:center;
font-size:2.5rem;
font-weight:bold;
background:linear-gradient(90deg,purple,darkblue);
color:gray;
border-radius:0%;
}
a{text-decoration:none;}
#welcome-section{
height:100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background:linear-gradient(purple,darkblue);
padding-top:500px;
}
ul{display:flex;}
@media(max-width:720px){body{
margin:0;
left:0;
padding:0;
}
}