-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
146 lines (144 loc) · 2.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
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
142
143
144
145
146
*{
padding: 0;
margin: 0;
}
body
{
min-height: 100vh;
overflow-x: hidden;
background: radial-gradient(#7597de,#2b1055);
}
nav{
margin: 0 30px;
padding: 0;
box-sizing: border-box;
background-color: #2a105563;
}
nav ul{
margin: 0 auto ;
white-space: nowrap;
display: flex;
}
nav li{
flex: 1;
font-size: 2em;
padding: 5px 15px;
text-decoration: none;
display: inline-block;
text-align: center;
}
nav li:hover{
background-color: #2b1055;
}
nav li a{
color: #000;
text-decoration: none;
}
.hello{
margin: 10%;
}
.hello h1{
color: rgb(255, 0, 0);
font-size: 70px;
}
.hello h2{
font-size: 50px;
color: rgb(0, 0, 0);
}
.hello p{
font-size: 30px;
color: rgb(0, 0, 0);
}
.hello img{
border-radius: 500px;
width: 30em;
float: right;
}
.achievement{
margin: 20px;
display: flex;
flex-direction: column;
justify-content: space-between
}
.content{
display: flex;
padding: 20px;
}
.navodaya{
box-shadow: 10px 4px 8px 5px rgba(0, 0, 0, 0.2);
width: 80%;
height: 20%;
transition: 1.4s;
margin: auto;
margin-bottom: 25px;
border-radius: 20px;
text-align: center;
font-family: arial;
font-size: 30px;
}
.jee{
box-shadow: 10px 4px 8px 5px rgba(0, 0, 0, 0.2);
width: 80%;
height: 20%;
transition: 1.4s;
margin: auto;
margin-bottom: 25px;
border-radius: 20px;
text-align: center;
font-family: arial;
font-size: 30px;
}
.iit-kgp{
box-shadow: 10px 4px 8px 5px rgba(0, 0, 0, 0.2);
width: 80%;
height: 20%;
transition: 1.4s;
margin: auto;
margin-bottom: 25px;
border-radius: 20px;
text-align: center;
font-family: arial;
font-size: 30px;
}
.container{
display: flex;
flex-wrap: wrap;
}
.about-card{
box-shadow: 10px 4px 8px 5px rgba(0, 0, 0, 0.2);
width: 500px;
height: 400px;
transition: 1.4s;
margin: auto;
margin-bottom: 25px;
border-radius: 20px;
text-align: center;
font-family: arial;
font-size: 30px;
}
.about-card:hover{
transform: scale(1.1);
transform: rotateZ(360deg);
}
.card{
box-shadow: 10px 4px 8px 5px rgba(0, 0, 0, 0.2);
width: 300px;
height: 200px;
transition: 1.4s;
margin: auto;
margin-bottom: 25px;
border-radius: 20px;
text-align: center;
font-family: arial;
}
.card img{
padding-top: 20%;
}
.card:hover{
transform: scale(1.1);
transform: rotateY(360deg);
}
.copyright{
text-align: center;
text-shadow: 1px 1px 2px #fff;
}