Skip to content

Commit

Permalink
Add NewPost & NewsFeed components
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedHelalAhmed committed Jan 8, 2022
1 parent 5310b86 commit 4b0b07e
Show file tree
Hide file tree
Showing 6 changed files with 536 additions and 6 deletions.
154 changes: 154 additions & 0 deletions public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,19 +380,83 @@ Ensure the default browser behavior of the `hidden` attribute.
display: none;
}
*, ::before, ::after {
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
--tw-border-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-border-opacity));
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: var(--tw-empty,/*!*/ /*!*/);
--tw-brightness: var(--tw-empty,/*!*/ /*!*/);
--tw-contrast: var(--tw-empty,/*!*/ /*!*/);
--tw-grayscale: var(--tw-empty,/*!*/ /*!*/);
--tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
--tw-invert: var(--tw-empty,/*!*/ /*!*/);
--tw-saturate: var(--tw-empty,/*!*/ /*!*/);
--tw-sepia: var(--tw-empty,/*!*/ /*!*/);
--tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);
--tw-filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.container {
width: 100%;
}
@media (min-width: 640px) {

.container {
max-width: 640px;
}
}
@media (min-width: 768px) {

.container {
max-width: 768px;
}
}
@media (min-width: 1024px) {

.container {
max-width: 1024px;
}
}
@media (min-width: 1280px) {

.container {
max-width: 1280px;
}
}
@media (min-width: 1536px) {

.container {
max-width: 1536px;
}
}
.visible {
visibility: visible;
}
.static {
position: static;
}
.fixed {
position: fixed;
}
.absolute {
position: absolute;
}
.relative {
position: relative;
}
.mx-4 {
margin-left: 1rem;
margin-right: 1rem;
}
.ml-2 {
margin-left: 0.5rem;
}
Expand All @@ -402,9 +466,24 @@ Ensure the default browser behavior of the `hidden` attribute.
.block {
display: block;
}
.\!block {
display: block !important;
}
.inline {
display: inline;
}
.flex {
display: flex;
}
.table {
display: table;
}
.contents {
display: contents;
}
.hidden {
display: none;
}
.h-screen {
height: 100vh;
}
Expand All @@ -420,6 +499,9 @@ Ensure the default browser behavior of the `hidden` attribute.
.h-full {
height: 100%;
}
.h-10 {
height: 2.5rem;
}
.w-2\/3 {
width: 66.666667%;
}
Expand All @@ -435,9 +517,24 @@ Ensure the default browser behavior of the `hidden` attribute.
.w-56 {
width: 14rem;
}
.w-10 {
width: 2.5rem;
}
.w-full {
width: 100%;
}
.flex-1 {
flex: 1 1 0%;
}
.border-collapse {
border-collapse: collapse;
}
.transform {
transform: var(--tw-transform);
}
.resize {
resize: both;
}
.flex-col {
flex-direction: column;
}
Expand All @@ -450,15 +547,29 @@ Ensure the default browser behavior of the `hidden` attribute.
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.overflow-x-hidden {
overflow-x: hidden;
}
.overflow-y-hidden {
overflow-y: hidden;
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rounded {
border-radius: 0.25rem;
}
.rounded-full {
border-radius: 9999px;
}
.border {
border-width: 1px;
}
.border-b {
border-bottom-width: 1px;
}
Expand Down Expand Up @@ -506,9 +617,16 @@ Ensure the default browser behavior of the `hidden` attribute.
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}
.pl-8 {
padding-left: 2rem;
}
.pl-4 {
padding-left: 1rem;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
Expand All @@ -520,18 +638,54 @@ Ensure the default browser behavior of the `hidden` attribute.
.font-bold {
font-weight: 700;
}
.capitalize {
text-transform: capitalize;
}
.tracking-tight {
letter-spacing: -0.025em;
}
.text-gray-700 {
--tw-text-opacity: 1;
color: rgb(55 65 81 / var(--tw-text-opacity));
}
.underline {
-webkit-text-decoration-line: underline;
text-decoration-line: underline;
}
.shadow-sm {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow {
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline {
outline-style: solid;
}
.blur {
--tw-blur: blur(8px);
filter: var(--tw-filter);
}
.invert {
--tw-invert: invert(100%);
filter: var(--tw-filter);
}
.filter {
filter: var(--tw-filter);
}
.\!filter {
filter: var(--tw-filter) !important;
}
.transition {
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.focus\:outline-none:focus {
outline: 2px solid transparent;
outline-offset: 2px;
Expand Down
Loading

0 comments on commit 4b0b07e

Please sign in to comment.