-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (89 loc) · 1.68 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body{
background-color: rgb(231, 231, 231);
height: 300vh;
}
nav{
width: 100%;
height: 75px;
background-color:rgb(255, 255, 255) ;
position: fixed;
top:0;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
}
@media screen and (max-width:900px) {
.main{
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
grid-template-areas: "main"
"aside";
justify-items: center;
}
}
@media screen and (min-width:900px) {
.main{
padding-left: 5%;
display: grid;
grid-template-columns: 3fr 1fr;
grid-template-rows: 300vh;
grid-template-areas: "main aside";
}
}
.main{
margin-top: 120px;
gap: 3%;
align-items: flex-start;
}
main{
grid-column: main;
width: 80%;
justify-self: center;
}
aside{
background-color: rgb(255, 255, 255);
grid-column: aside;
position: sticky;
top: 120px;
height: fit-content;
width: fit-content;
padding: 20px;
border-radius: 10px;
}
aside h2{
margin-bottom: 5px;
}
.profil{
background-color: rgb(255, 255, 255);
border-radius: 20px;
align-items: flex-start;
}
.ban{
width: 100%;
height: 200px;
object-fit: cover;
border-top-right-radius: 20px;
border-top-left-radius: 20px ;
}
.profil h1{
margin-top: 10px;
}
.info-profil{
position: relative;
padding: 25px;
}
.user{
height: 75px;
position: absolute;
top:-50px;
border-radius: 50%;
border: 3px solid white;
}