This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate news section from old to new website and fix mobile view of g…
…socideas (#25) * Improve Mobile view of gsoc_ideas page * Migrate 3300+ lines of code of all the news from old website to new website * add responsive news section
- Loading branch information
1 parent
1acc066
commit 275f59d
Showing
4 changed files
with
3,749 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* News.css */ | ||
|
||
.news-container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: flex-start; | ||
margin: 0 auto; | ||
padding: 2rem; | ||
max-width: 800px; /* Adjust the max-width as needed */ | ||
|
||
|
||
} | ||
|
||
|
||
/* Media query for screens with a maximum width of 600px */ | ||
@media (max-width: 600px) { | ||
.news-container { | ||
padding: 1rem; /* Adjust padding for smaller screens */ | ||
max-width: 100%; /* Make sure it doesn't exceed the viewport width */ | ||
} | ||
} | ||
|
||
/* Media query for screens with a maximum width of 1200px */ | ||
@media (max-width: 1200px) { | ||
.news-container { | ||
max-width: 600px; /* Adjust max-width for medium-sized screens */ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.