Repository navigation
Expand file tree
/
Copy pathindexStyle.css
More file actions
117 lines (89 loc) · 1.77 KB
/
Copy pathindexStyle.css
File metadata and controls
117 lines (89 loc) · 1.77 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
*{
margin: 0;
padding: 0;
font-family:sans-serif;
}
body{
margin: 0px;
padding: 40px;
box-sizing: border-box;
background-color: rgba(127, 255, 212, 0.678);
}
.container{
padding: 40px 80px;
background-color: rgb(48, 235, 172);
}
.container h1{
margin-bottom: 10px;
text-align: center;
color: #333;
font-size: 40px;
font-weight: 1000;
}
.container img{
width: 100%;
object-fit: cover;
border-radius: 25px;
}
.container h2{
position: relative;
margin-top: 10px;
padding: 7.5px 10px;
padding-right: 20px;
width: fit-content;
text-align: left;
background: rgba(255, 255, 255, 0.90);
border-radius: 12px 12px 0px 0px;
color: #333;
font-size: 28px;
font-weight: 750;
box-sizing: border-box;
}
.container h2::before{
margin: 5px 10px;
padding: 0px 7.5px;
width: 50px;
height: 50px;
content: "#";
background: linear-gradient(rgb(255, 0, 127),rgb(127, 0, 255)) ;
border-radius: 50%;
color: white;
}
.container h2:hover{
text-decoration: 3px underline;
}
.container p{
margin: 0;
padding: 15px;
line-height: 24px;
background: rgb(243, 238, 238);
border-radius: 0px 12px 12px 12px;
font-size: 18px;
font-weight: 537.5;
word-spacing: 5px;
}
/* for pc and desktops */
@media (min-width: 1024px){
.container img{
margin: 50px;
float: right;
width: 50%;
}
.container p{
width: 40%;
}
}
/* for tablets */
@media (max-width: 768px){
.container h2{
margin-top: 10px;
background: red;
}
}
/* for mobile */
@media (max-width: 480px){
.container h2{
margin-top: 10px;
background: rgb(35, 214, 35);
}
}