Skip to content

Commit b871dca

Browse files
committed
made about responsive
1 parent 70babf5 commit b871dca

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

main/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<title>Hack In The North 3.0 - India's Biggest Student Hackathon</title>
77
<meta name="description" content="">
8-
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
99

1010
<link rel="manifest" href="site.webmanifest">
1111
<link rel="apple-touch-icon" href="icon.png">

main/static/css/cards.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
}
1616

1717
.card-panel {
18-
/*margin-top: 0;*/
1918
-webkit-transition: -webkit-box-shadow .25s;
2019
transition: -webkit-box-shadow .25s;
2120
transition: box-shadow .25s;
@@ -24,7 +23,8 @@
2423
margin: 15vh auto 2rem auto;
2524
border-radius: 5px;
2625
background-color: #fff;
27-
width: 50%;
26+
width: 60%;
27+
height: 50%;
2828
position: relative;
2929
}
3030

@@ -33,9 +33,22 @@
3333
box-shadow: 0 26px 34px 4px rgba(0, 0, 0, 0.44), 0 16px 40px 10px rgba(0, 0, 0, 0.42), 0 12px 14px -10px rgba(0, 0, 0, 0.4);
3434
}
3535

36-
@media (max-width: 600px){
36+
@media (max-width: 500px){
3737
.card-panel{
3838
width: 100%;
39+
height: 70vh;
40+
}
41+
.card-panel h4{
42+
font-size: 4vw;
43+
}
44+
}
45+
@media (max-width: 1250px){
46+
.card-panel{
47+
width: 100%;
48+
height: 70vh;
49+
}
50+
.card-panel h4{
51+
font-size: 2vw;
3952
}
4053
}
4154

0 commit comments

Comments
 (0)