Skip to content
Snippets Groups Projects
feed.module.css 5.95 KiB
Newer Older
  • Learn to ignore specific revisions
  • Ludvig Damberg's avatar
    Ludvig Damberg committed
    input {
      text-align: start;
      margin-left: 10px;
      font-family: 'Outfit', sans-serif;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    
    
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    }
    
    :focus::placeholder {
      color: rgb(197, 197, 197);
    }
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    textarea {
      text-align: start;
      margin-left: 10px;
      resize: none;
      font-family: 'Outfit', sans-serif;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    }
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    .pick_file {
      color: rgb(0, 0, 0);
    
    ludvighillert's avatar
    ludvighillert committed
      font-size: 35px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      margin-left: 30px;
      margin-top: 5px;
    
      display: flex;
    
    ludvighillert's avatar
    ludvighillert committed
      justify-content: center;
      align-items: center;
    }
    
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    .recipe {
      width: 300px;
      border: none;
      background-color: rgb(161, 161, 161);
      border-radius: 4px;
      color: rgb(255, 255, 255);
      margin: 10px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    .description {
      width: 300px;
      border: none;
    
      margin-top:54px;
      font-family: 'Outfit', sans-serif;
      color: rgb(0, 0, 0);
      
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    
    
    ludvighillert's avatar
    ludvighillert committed
    .image_container {
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      width: 300px;
      /* set width of image container */
      height: 300px;
      /* set height of image container */
      border-radius: 20px;
      /* make image container circular */
    
    ludvighillert's avatar
    ludvighillert committed
      overflow: hidden;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      display: flex;
      /* Add display flex to center image vertically */
      align-items: center;
      /* Center image vertically */
      justify-content: center;
      /* Center image horizontally */
    
    }
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    .image_container img {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    .header{
    
      height: 8vh;
      margin-bottom: 5px;
      background-color:#71caf3;
      box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
      align-items: center;
      width: 100vw;
      color: white;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
    .header_photo{
      display: flex;
     margin-top: auto;
     margin-bottom: auto;
    }
    .header_text{
    margin: auto;
    
    .header_button{
     display: flex;
     justify-content: end;
     margin-right: 25px;
    
      }
    
    ludvighillert's avatar
    ludvighillert committed
    .container {
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      background: rgb(255, 255, 255);
    
      border-radius: 15px;
      border: 0.5px solid rgb(185, 185, 185);
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      box-shadow: 0 8px 13px 0 rgba(41, 41, 43, 0.705);
      width: 90%;
      margin: auto;
      padding: 20px;
      backdrop-filter: blur(10px);
      justify-content: center;
      text-align: center;
    
      display: flex;
      margin-top: 150px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    
    .searchbar {
      background-color: rgb(255, 255, 255);
      width: 500px;
      height: 50px;
      color: rgb(0, 0, 0);
      border: solid 1px black;
      outline: none;
      margin: 10px;
      border-radius: 5px;
      font-size: 18px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    
    .post_container {
      height: 65vh;
      align-self: center;
      justify-self: center;
    
      margin-left: auto;
      margin-right: auto;
      margin-top: 200px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      width:93%;
      display: flex;
      flex-direction: column;
      box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
      background-color: #F28482;
    }
    
    
    .post_header{
    
      margin-top: 100px;
       margin: 10px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
       display: flex;
       width: 100%;
       color: white;
    }
    .input_fields{
      display: flex;
      flex-direction: column;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    }
    
    .post_input1 {
      border: none;
      background-color: rgb(235, 235, 235);
      width: 500px;
      height: 30px;
      color: rgb(0, 0, 0);
      outline: none;
      border-radius: 4px;
      border: 2px solid rgb(255, 255, 255);
      margin-top: 10px;
    
    }
    
    .post_input2 {
      border: none;
      background-color: rgb(235, 235, 235);
      width: 500px;
      height: 100px;
      color: rgb(0, 0, 0);
      outline: none;
      border-radius: 4px;
      border: 2px solid rgb(255, 255, 255);
    }
    
    
    .delete {
      background: rgb(182, 55, 55);
      color: rgb(255, 255, 255);
      font-size: 18px;
      border: none;
      min-width: 100px;
      height: 50px;
      font-family: 'Outfit', sans-serif;
      border-radius: 5px;
      box-sizing: border-box;
      transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
      transition-duration: 400ms;
      margin-left: 50px;
    }
    
    .delete:hover {
      transform: scale(1.1);
    
    }
    
    .upvote {
      height: 40px;
      width: 110px;
      font-size: 18px;
      border-radius: 5px;
      border: none;
      background-color: #ffcd6f;
      color: rgb(255, 255, 255);
      margin-left: auto;
      margin-right: 20px;
      font-family: 'Outfit', sans-serif;
    }
    
    
    .posts_container {
      min-height: 35vh;
      width: 900px;
      display: flex;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
      box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
      text-align: left;
    }
    
    
    .grid_container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: 300px;
      grid-gap: 10px;
    }
    
    .grid_container2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: 300px;
      grid-gap: 10px;
    }
    
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    .preview_img_container {
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      /* set width of image container */
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      border-radius: 50%;
      /* make image container circular */
      overflow: hidden;
      /* Add display flex to center image vertically */
      align-items: center;
      /* Center image vertically */
      justify-content: center;
      /* Center image horizontally */
      margin-left: 20px;
    }
    
    .post_img_container {
      width: 300px;
      /* set width of image container */
      height: 35vh;
      /* set height of image container */
      border-bottom-left-radius: 10px;
    
      overflow: hidden;
      display: flex;
      /* Add display flex to center image vertically */
      align-items: center;
      /* Center image vertically */
      justify-content: center;
      /* Center image horizontally */
      margin-right: 10%;
    
    }
    
    .post_img_container img {
    
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      height: 100%;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      width: 100%;
      object-fit: cover;
    }
    
    .addpicture {
      text-align: center;
      margin-right: 30px;
      margin-left: 31%;
      margin-bottom: 30px;
      height: 50px;
      width: 500px;
      display: flex;
    }
    
    ::placeholder {
      color: rgb(0, 0, 0);
      text-align: start;
    }
    
    .tag_container {
      display: flex;
      flex-direction: row;
      margin: 5px;
    }
    
    .tag_container ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    .tag_container li {
      background-color: rgb(32, 32, 32);
      color: white;
      border-radius: 3px;
      padding: 5px;
      margin-right: 10px;
      margin-bottom: 10px;
      display: inline-block;
    
      flex-direction: column;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
    }
    
    .wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 50px;
    }
    
    .posts_header {
      height: 55px;
      background-color: #F28482;
      margin-top: 30px;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      box-shadow: 2px;
      box-shadow: 0 0.5px 2px 0 rgba(0, 0, 0, 0.808);
      color: white;
      display: flex;
      align-items: center;
    
    }
    
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      width: 45px;
      height: 45px;
      border-radius: 50%;
      object-fit: cover;
      border: solid 1px white;
      margin-left: 10px;
    }