Skip to content
Open
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
48 changes: 41 additions & 7 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@ 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;
}


/* DO NOT REMOVE - Styling for the label showing the viewport width */
.viewport-dimensions {
position: fixed;
Expand All @@ -27,7 +37,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 +185,29 @@ header {
.btn-blue {
background-color: #007bff;
}

/* Write your CSS below */

@media screen and (max-width: 400px) {
body {
}
.newspaper-name,
.navbar {
flex-direction: column;
align-items: center;
}
.main-article,
.articles-container {
flex-direction: column;
align-items: center;
width: 100%;
}
.main-article .content {
width: 100%;
}

.article {
width: 100%;
margin-bottom: 35px;
}
}