123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- /* just structural (no artistic choices) */
- /* LAYOUT */
- .primary {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- gap: 3rem;
- }
- .primary > :first-child {
- flex-basis: 30rem;
- flex-grow: 1;
- height:100%;
- }
-
- .primary > :last-child {
- flex-basis: 0;
- flex-grow: 999;
- min-inline-size: 35%;
- }
- /* TIMELINE AND POSTS */
- article {
- border: 1px solid red;
- text-align: left;
- margin: 0.25em 0;
- padding: 1.5rem clamp(1rem, 5%, 3rem);
- }
- .message {
- margin: 1em 1em 1em 3em;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- /* POST METADATA */
- .buttons {
- margin-left: 1em;
- margin-bottom:0.5em;
- }
- time {
- display: block;
- text-align: right;
- margin: 0.5em
- }
- .hashtag {
- color: green;
- font-weight: bold;
- }
- /* PROFILE ASIDE */
- aside {
- border:1px solid blue;
- }
- .profile {
- vertical-align: middle;
- padding-left: 10px;
- }
- .avatar {
- vertical-align: middle;
- width: 50px;
- height: 50px;
- }
- .handle{
- font-size: 1.1em;
- font-weight: bold;
- }
- .email{
- text-align:left;
- font-size: 0.8em;
- text-decoration:none;
- }
- .bio {
- vertical-align: middle;
- font-size: 0.9em;
- margin: 1em
- }
- /* IMAGES */
- .gallery {
- margin:auto;
- display: flex;
- align-items: center;
- width: 100%;
- }
- .gallery .panel {
- margin: 2px;
- width: auto
- }
- .gallery .panel img {
- width: 100%;
- height: 100%;
- }
- .gallery .panel img:hover {
- border: 1px solid #777;
- filter: invert(100%);
- }
- /* HEADER AND FOOTER */
- footer {
- display: grid;
- place-content: center;
- }
|