Skip to content
Snippets Groups Projects
feed.module.css 5.49 KiB
Newer Older
  • Learn to ignore specific revisions
  • Ludvig Damberg's avatar
    Ludvig Damberg committed
    
    
    ludvighillert's avatar
    ludvighillert committed
    input{
        text-align: start;
        margin-left:10px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
        font-family: 'Outfit', sans-serif;
    
    
    ludvighillert's avatar
    ludvighillert committed
    
      }
     :focus::placeholder {
        color: transparent;
      }
    
    ludvighillert's avatar
    ludvighillert committed
      textarea{
        text-align: start;
        margin-left:10px;
        resize: none;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
        font-family: 'Outfit', sans-serif;
    
    
    ludvighillert's avatar
    ludvighillert committed
      }
      .pick_file {
      color: rgb(67, 1, 128);
      font-size: 35px;
    
      margin-left:30px;
      margin-top:5px;
      display: flex;
    
    ludvighillert's avatar
    ludvighillert committed
      justify-content: center;
      align-items: center;
      
      
    }
    .recipe{
        background:green;
    width:300px; 
    border: none;
    background-color: rgb(26, 100, 100);
    border-radius:4px;
    color: aliceblue;
    margin: 10px;
    
    }
    .description{
        background:green;
    width:300px; 
    border: none;
    background-color: rgb(26, 100, 100);
    border-radius:4px;
    color: aliceblue;
    margin: 10px;
    
    }
    .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;
      display: flex; /* Add display flex to center image vertically */
      align-items: center; /* Center image vertically */
      justify-content: center; /* Center image horizontally */
      
      }
      
    .image_container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    
    
    }
    .container {
        background: rgb(49, 117, 121);
        border-radius: 2px;
        box-shadow: 0 8px 13px 0 rgba(41, 41, 43, 0.548);
        width: 90%;
        margin:auto;
        text-align: center;
        padding: 20px;
        backdrop-filter: blur(10px);
    }
    .searchbar{
        border: none;
        background-color: rgb(26, 100, 100);
        width: 500px;
        height: 50px;
        color: aliceblue;
        outline: none;
        margin-left: 50px;
        margin-bottom: 10px;
        margin-top: 15px;
        border-radius:4px;
        font-size: 16px;
    
    }
    .post_container{
        min-height: 35vh;
        margin: auto;
        margin-top:20px;
        margin-bottom: 20px;
        width: 600px;
        text-align: center;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        background: linear-gradient(135deg,rgb(48, 51, 51),rgb(36, 44, 44),0 );
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
        box-align: center;
      }
      .post_container h1{
        margin: auto;
        margin-top: 10px;
      }
      .post_input1{
        border: none;
        background-color: rgb(26, 100, 100);
        width: 500px;
        height: 30px;
        color: aliceblue;
        outline: none;
        margin-left: 50px;
        margin-bottom: 10px;
        margin-top: 15px;
        border-radius:4px;
      }
      .post_input2{
        border: none;
        background-color: rgb(26, 100, 100);
        width: 500px;
        height: 100px;
        color: rgb(250, 250, 250);
        outline: none;
        margin-left: 50px;
        margin-bottom: 10px;
        margin-right: 20px;
        border-radius:4px;
      }
      .post_container button{
        background: rgb(150, 172, 110);
        color: white;
        font-size: 18px;
        border: none;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
        min-width: 100px;
        height: 50px;
        margin-left: 50px;
    
    ludvighillert's avatar
    ludvighillert committed
        margin-bottom: 25px;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
        font-family: 'Outfit', sans-serif;
    
    ludvighillert's avatar
    ludvighillert committed
        border-radius: 5px;
        
        
        
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      .delete{
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
          background: rgb(177, 79, 61);
          color: white;
          font-size: 18px;
          border: none;
          min-width: 100px;
          height: 50px;
          margin-left: 50px;
          margin-bottom: 25px;
          font-family: 'Outfit', sans-serif;
          border-radius: 5px;
           
    
    ludvighillert's avatar
    ludvighillert committed
      .upvote{
        background-color: rgb(25, 100, 100);
        height: 40px;
        width:40px;
        box-align: center;
        margin-top: 25px;
        margin-left:40px;
        font-size: 22px;
        font-family: 'Poppins', sans-serif;
        border-radius: 5px;
        border: none;
        color: white;
        
      }
    
    ludvighillert's avatar
    ludvighillert committed
      .upvote button{
        background: rgb(150, 172, 110);
        color: white;
        margin: auto;
      }
      .posts_container{
        min-height: 35vh;
        margin: auto;
        margin-top: 30px;
        
        width: 900px;
        text-align: center;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        background: linear-gradient(135deg,rgb(48, 51, 51),rgb(36, 44, 44),0 );
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
      }
    
      .preview_img_container{
        width: 60px; /* set width of image container */
       height: 60px;
    
    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;
      }
    
    ludvighillert's avatar
    ludvighillert committed
      .post_img_container{
        width: 300px; /* set width of image container */
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
        height: 35vh; /* set height of image container */
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        
    
    ludvighillert's avatar
    ludvighillert committed
        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%;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
       
    
    ludvighillert's avatar
    ludvighillert committed
      }
      .post_img_container img{
      
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      height: 100%;
    
    ludvighillert's avatar
    ludvighillert 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:aliceblue;
        text-align: start;
    
    Ludvig Damberg's avatar
    Ludvig Damberg committed
      }
    
      .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(26, 100, 100);
        border-radius: 3px;
        padding: 5px;
        margin-right: 10px;
        margin-bottom: 10px;
        display: inline-block;