-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathstyle.css
86 lines (83 loc) · 1.32 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root{
--bg: rgb(11, 15, 32);
--text:white;
}
body{
background-color:var(--bg);
color:var(--text);
scroll-behavior: smooth;
}
header{
width: 100vw;
padding: 1.5rem 0;
position: fixed;
}
nav{
display:flex;
justify-content: space-around;
align-items: center;
}
ul{
display: flex;
width: 50%;
justify-content: space-evenly;
align-items: center;
}
li{
list-style: none;
}
li:hover{
background-color: var(--text);
color:var(--bg);
padding: 0.1rem;
border-radius:2px;
cursor: pointer;
}
.name::first-letter{
text-shadow: 1px 2px 8px var(--text);
}
a,a:visited,a:active{
text-decoration: none;
color: var(--text);
}
a:hover{
color: var(--bg);
}
section{
min-height:100vh;
}
#home{
display: flex;
justify-content: space-around;
align-items: center;
}
article{
width: 50%;
}
.intro{
padding: 1rem 0;
}
.contactform{
display:inline-flex;
flex-direction: column;
gap:1rem;
background-color: aliceblue;
padding: 1rem;
border-radius: 1rem;
color: var(--bg);
}
input , textarea{
padding:0.4rem;
border-radius: 10px;
}
#contact{
display: flex;
flex-direction: column;
align-items: center;
justify-content:space-evenly;
}