Skip to content

Commit 065a9bc

Browse files
Tushar MalikCuriousLearner
authored andcommitted
Makes site responsive on xs device (#13)(#9)
* solved the problem of dropdown * made the site mobile responsive by using bootstrap grid * added my name in CONTRIBUTORS.txt * Left a line after my name entry * zoom in/out allowed * Removed all the dead links * increased the size of image and decreased the size of the text * made padding-top and padding-bottom and made all the changes in main.css and deleted style.css
1 parent 4424a7d commit 065a9bc

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

CONTRIBUTORS.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Code Contributors
77
- Tanya Jain (gh: Tanya-Jain)
88
- Saurabh Kumar (gh: theskumar)
99
- Theodoros Ploumis (gh: theodorosploumis)
10-
10+
- Tushar Malik (gh: Tusharmalik)
11+
1112
Special Thanks
1213
==============
1314

assets/css/main.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,16 @@ footer {
9999
.row.content {
100100
padding-left: 15px;
101101
padding-right: 15px;
102+
padding-top: 15px;
103+
padding-bottom: 15px;
102104
}
103105

104106
.navbar-brand {
105107
color: #FFFFFF;
106108
}
109+
110+
@media screen and (max-width: 480px) {
111+
.container img { width: 50%;}
112+
.container p {font-size: 100%;}
113+
}
114+

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
3131
<div class="container">
3232
<div class="navbar-header">
33-
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
33+
<!-- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
3434
<span class="sr-only">Toggle navigation</span>
3535
<span class="icon-bar"></span>
3636
<span class="icon-bar"></span>
3737
<span class="icon-bar"></span>
38-
</button>
38+
</button> -->
3939
<a class="navbar-brand" href="#">LinuxChix India</a>
4040
</div>
4141
<div id="navbar" class="navbar-collapse collapse">
@@ -60,34 +60,34 @@ <h2>Welcome to Indian chapter of</h2>
6060
<h1>LinuxChix!</h1>
6161
<img class="logo-cover" src="assets/img/logo_transparent.png" />
6262
<p>LinuxChix is a community for women who like Linux and for anyone who wants to support women in computing. We aim to promote FOSS primarily Linux and related projects among women and other minorities in tech. We are a group of enthusiastic people ranging from students to professional experts willing to teach and foster the growth of Linux.</p>
63-
<p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more &raquo;</a></p>
63+
<!-- <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more &raquo;</a></p> -->
6464
</div>
6565
</div>
6666

6767
<div class="container-fluid">
6868
<!-- Example row of columns -->
6969
<div class="row content">
70-
<div class="col-md-4">
70+
<div class="col-md-4 col-xs-12">
7171
<h2>About Us</h2>
7272
<div class="justify-text">
7373
<p>LinuxChix India is a regional chapter in India of LinuxChix, a global community for women who like Linux
7474
and for anyone who wants to support <strong>women in computing</strong>. We are an international group of Free Software
7575
users and developers, founded in 1999 with the aim of supporting women in Linux. It is not only for women.</p>
7676
</div>
77-
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
77+
<!-- <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p> -->
7878
</div>
79-
<div class="col-md-4">
79+
<div class="col-md-4 col-xs-12">
8080
<h2>Our Motto</h2>
8181
<p id="motto">Be Polite.</br>Be Helpful. </p>
8282
</div>
83-
<div class="col-md-4">
83+
<div class="col-md-4 col-xs-12">
8484
<h2>Our Aim and Vision</h2>
8585
<div class="justify-text">
8686
<p>
8787
We aim to bring together women around India involved in various FOSS projects, enhance women participation in FOSS related activities, share knowledge and increase awareness. Our vision is to promote the usage of FOSS and to help women identify avenues for contribution.
8888
</p>
8989
</div>
90-
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
90+
<!-- <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p> -->
9191
</div>
9292
</div>
9393
<hr>

0 commit comments

Comments
 (0)