-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain2.css
141 lines (118 loc) · 2.04 KB
/
main2.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
body {
background: #f2f2f2;
line-height: 1.5;
font-family: 'Patua One',
cursive;
}
img{
width: 100%;
animation-name: moves;
animation-direction: 5s;
}
h1{
animation-name: moves;
animation-direction: 5s;
}
h2,h3,h4,h5{
text-transform: uppercase;
margin: 0px auto;
}
h4{
font-size: 1.1em;
/* animation-name: moves;
animation-direction: 3s; */
}
.page {
max-width: 960px;
margin: 20px auto;
background: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
text-align: left;
}
.page{
display: grid;
grid-template-columns: 1fr 4fr;
grid-gap: 5px;
}
.left{
background: rgb(93,122,214);
background: linear-gradient(180deg, rgba(93,122,214,1) 20%, rgba(93,197,196,1) 100%);
color: white;
text-align: left;
/* padding: 20px; */
/* width: 100%; */
/* height: 700px; */
/* margin: 0px auto; */
}
.left > div{
margin: 0px 20px;
margin-bottom: 45px;
}
.right {
background: white;
padding: 5px;
/* width: 100%; */
/* height: 700px; */
}
.right > div{
margin: 20px;
padding-bottom: 20px;
border-bottom: 4px solid #5dc5c4;
}
.right div:last-child{
border-bottom: none;
}
.right h3{
color: #5dc5c4
}
.image{
margin: 10px;
text-align: center;
}
.avater{
border-radius: 50%;
width: 250px;
height: 250px;
margin: 10px auto;
animation-name: moves;
animation-duration: 3s;
}
.right h4,h5{
margin: 6px auto;
}
.right span{
color: #5dc5c4;
}
.task{
text-transform: capitalize;
color: #5dc5c4;
font-style: italic;
}
.item{
margin-top: 25px;
}
.small-text{
margin: auto;
font-style: italic;
color: #5dc5c4;
}
@keyframes moves{
0%{
opacity: 0;
transform: translate3d(180deg);
transform: rotateY(180deg)
}
100%{
opacity: 1;
}
}
@media only screen and (max-width:600px) {
.page {
display: grid;
grid-template-columns: 1fr;
grid-gap: 5px;
}
.img-center{
margin: 0px auto;
}
}