-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
107 lines (95 loc) · 1.7 KB
/
styles.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f3f3f3;
}
header{
color: rgb(101, 99, 99);
text-align: right;
padding: 10px;
font-size: 13px;
margin-top: 10px;
}
header a {
color: rgb(101, 99, 99);
margin-left: 10px;
text-decoration: none;
}
.container {
display: flex;
}
.sidebar {
width: 50%;
padding: 20px;
box-sizing: border-box;
}
.content {
width: 50%;
padding: 20px;
}
.propic{
margin-top: 10%;
border-radius: 50%;
max-width: 80%;
height: auto;
margin-left: 20%;
}
h1{
margin-top: 15%;
font-size:60px ;
}
.box1{
line-height: 1.5;
font-family: 'Times New Roman', Times, serif;
}
button{
width: 100px;
height: 100px;
border-radius: 50%;
border: 1px solid #070707;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition-duration: 0.4s;
margin: 0 10px;
}
.box4a button {
background-color: red;
}
.box4b button {
background-color: #eea302;
}
.box4c button {
background-color: #80d8da;
}
.container2 button:hover {
background-color: #f3f3f3;
}
.container2{
display: flex;
}
.box5{
display: flex;
}
.box6,.box7,.box8{
width: calc(100% / 3);
padding: 5%;
font-size: 13px;
}
@media (max-width:800px) {
.sidebar,.content{
width: 100%;
}
.container {
flex-direction: column-reverse;
}
.sidebar img {
height: 300px;
width: 80%;
transition: transform 0.3s ease-in-out;
}
.sidebar:hover img {
transform: scale(1.1);
}
}