Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
105 changes: 99 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,23 @@ html {
box-sizing: border-box;
font-size: 16px;
}

*, *:before, *:after {

*,
*:before,
*:after {
box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
margin: 0;
padding: 0;
font-weight: lighter;
Expand All @@ -27,7 +38,7 @@ body, h1, h2, h3, h4, h5, h6, p, ol, ul {
padding: 5px 8px;
font-size: 14px;
}

/* STYLES */

/* Fonts */
Expand Down Expand Up @@ -175,5 +186,87 @@ header {
.btn-blue {
background-color: #007bff;
}

/* Write your CSS below */


@media(max-width: 760px) {
.navbar {
display: flex;
flex-direction: column;
align-items: center;
border-bottom: 1px solid #ccc;
margin: 0;
padding: 0;
}

.navbar li {
border-right: none;
border-bottom: 1px solid #ccc;
width: 100%;
}

.main-article {
display: flex;
flex-direction: column;
align-items: center;
margin: 5;
padding-bottom: 20px;
}

.main-article .image {
width: 90%;
margin: 15px 15px;
}

.main-article .content{
width: 90%;
}

.articles-container {
display: flex;
flex-direction: column;
align-items: center;
}

.articles-container article {
margin-bottom: 20px;
width: 100%;
}

@media(max-width: 480px){
.navbar{
display:none;
}
}
}

@media(min-width: 760px) and (max-width: 1024px) {
.navbar {
display: flex;
flex-direction: row;
align-items: center;
border-top: 1px solid #ccc;
margin: 0;
padding: 0;
justify-content: center;
}

.navbar li {
border-right: 1px solid #ffffff;
width: 100%;
}

.articles-container {
display: flex;
flex-direction: row;
align-items: center;
}

.articles-container article {
margin-bottom: 20px;
width: 40%;
margin-right: 20px;
}

}