-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet1.css
More file actions
123 lines (98 loc) · 2.08 KB
/
stylesheet1.css
File metadata and controls
123 lines (98 loc) · 2.08 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
body{
margin: 0px;
padding: 0px;
background-color: rgba(58, 201, 201,0.1);
}
.nav-main-container{
background-image: url(ece3.jpg);
height: 20vh;
background-size: cover;
}
.nav-main-container-cse{
background-image: url(cse1.jpg);
height: 20vh;
background-size: cover;
}
.nav-main-container-mech{
background-image: url(mech1.jpg);
height: 20vh;
background-size: cover;
}
.nav-main-container-eee{
background-image: url(eee.jpg);
height: 20vh;
background-size: cover;
}
.nav-main-container-bme{
background-image: url(bme.jpg);
height: 20vh;
background-size: cover;
}
.nav-main-container-civil{
background-image: url(civil1.jpg);
height: 20vh;
width: 100wh;
background-size:cover ;
background-repeat:no-repeat;
}
.nav-container{
padding: 0px 0px 0px 20px;
}
.nav-content-h1{
color: white;
font-size: 3em;
font-family: serif;
font-weight: 700;
text-shadow: 0px 0px 5px blue;
}
.nav-content-p{
color: white;
font-family: serif;
font-weight: 500;
text-shadow: 0px 0px 5px red;
}
.mech-content-container{
margin: 10% 0px;
display: flex;
justify-content: center;
}
/* @@@@@@@@@@@@ card styling @@@@@@@@@@@@@@@@@ */
.card-img{
}
img{
width: 400px;
height: 266px;
border-radius: 20px 10px 0px 0px;
}
.card-source-content{
background-color: blue;
width: 400px;
padding: 10px;
}
.card-source-content-p{
color: white;
font-weight: 600;
font-size: 1.5em;
text-align: center;
}
.b-card-container{
margin: 10px;
transition: transform .3s;
}
@media screen and (max-width: 750px) {
img{
width: 200px;
height: 190px;
border-radius: 20px 10px 0px 0px;
}
.card-source-content{
background-color: blue;
width: 200px;
padding: 10px;
}
}
.b-card-container:hover{
transform: scale(1.02);
text-shadow: 1px 1px 10px;
box-shadow: 0px 0px 20px;
}