-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIndex.css
More file actions
126 lines (104 loc) · 1.91 KB
/
Copy pathIndex.css
File metadata and controls
126 lines (104 loc) · 1.91 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* asterisk for all */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
font-size: 0.9rem;
}
body{
display: flex;
justify-content: center;
align-items: center;
}
.container{
margin: 10rem;
font-family: 'Poppins', sans-serif;
border: 1px solid red;
}
.container > header{
min-width: 20rem;
}
.container > header > p{
color: blueviolet;
text-transform: uppercase;
font-size: 1rem;
letter-spacing: 0.2rem;
}
.container > header > h1{
font-size: 2rem;
}
.container > header > img{
width:100%;
margin:0.5rem 0px;
object-fit: cover;
height: 200px;
border-radius: 10px;
}
section{
margin: 0.8rem;
}
section > h1{
font-size: 1.5rem;
}
section > p{
color: hotpink;
width: 100%;
}
.details{
background-color: grey;
border-radius: 0.8rem;
padding: 1rem;
margin: 0.5rem 0;
}
details > h2{
font-size: 1.2rem;
margin-bottom: 0.5rem;
}
.details > ul{
list-style-type: none;
display: grid;
grid-template-columns: 1fr 1fr;
/* 1/3 of width if i type 3, 1/2 */
}
form h3{
font-size: 1.5rem;
}
form .two{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem 0;
}
form .two > .one{
display: flex;
gap: 0.2rem;
flex-direction: column;
}
.one > label{
font-size: 0.8rem;
color: black;
}
.one > input{
padding: 0.5rem 0.8rem;
border-radius: 5px;
border: 1px solid #ccc;
}
.tac{
margin: 1rem 0;
}
.tac > a{
color: blueviolet;
}
form button{
background-color: blueviolet;
color: #fff;
width:100%;
font-family: Poppins;
border: 0;
padding: 0.5rem 0;
font-size: 1.2rem;
border-radius: 5px;
}
form button:hover{
background-color: rgb(122, 13, 225);
}