diff --git a/css/global.css b/css/global.css index 175e946..ebb43d3 100644 --- a/css/global.css +++ b/css/global.css @@ -75,7 +75,27 @@ a{ .sidebar{ grid-area: sidebar; height: 82vh; - background-color: azure; + display: flex; + flex-direction: column; + align-items: center; + background-color: var(--primary-background); +} + +.sidebar .siderbar__title{ + width: 100%; + background-color: #4B0082; + text-align: center; + padding: 0.4em 0.2em; + margin-bottom: 1em; +} + +.sidebar .sidebar__new-posts{ + display: flex; + flex-direction: column; + align-items: center; + overflow: auto; + width: 100%; + padding: 1em 0.3em; } .main{ @@ -112,4 +132,49 @@ a{ border: none; } -.btn--danger{} \ No newline at end of file +.btn--danger{} + + +.card{ + width: 280px; + border: 1px solid #000; + border-radius: 10px; + box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; + background-color: #FFF; + margin-bottom: 2em; +} + +.card > .card__img{ + width: 100%; +} + +.card > .card__img > img{ + width: 100%; + border-top-right-radius: 10px; + border-top-left-radius: 10px; +} + +.card > .card__info{ + width: 100%; +} + +.card > .card__info{ + width: 100%; + padding: 1em; +} + +.card > .card__info > .card__title{ + margin-bottom: 1em; +} + +.card > .card__info > .card__title > *{ + font-size: 1.2em; +} + +.card > .card__info > .card__body{ + margin-bottom: 1em; +} + +.card .card__info .card__posted-by{ + +} \ No newline at end of file diff --git a/css/variables.css b/css/variables.css index 022e7dc..52ea97f 100644 --- a/css/variables.css +++ b/css/variables.css @@ -2,4 +2,5 @@ --primary-color: #000; --second-color:#00FFFF; --font-main:'Roboto', sans-serif; + --primary-background:#1C1C1C; } \ No newline at end of file diff --git a/img/html5 b/img/html5 new file mode 100644 index 0000000..27e27c8 Binary files /dev/null and b/img/html5 differ diff --git a/img/html5.jpg b/img/html5.jpg new file mode 100644 index 0000000..27e27c8 Binary files /dev/null and b/img/html5.jpg differ diff --git a/index.html b/index.html index 019e75c..2fddc31 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,6 @@ + @@ -7,6 +8,7 @@ Document +
@@ -16,14 +18,14 @@ - - - + + +
@@ -32,19 +34,90 @@ - +
+ \ No newline at end of file