Skip to content
Snippets Groups Projects
feed.module.css 4.55 KiB
Newer Older
  • Learn to ignore specific revisions
  • ludvighillert's avatar
    ludvighillert committed
    input{
        font-family: 'Poppins', sans-serif;
        text-align: start;
        margin-left:10px;
    
      }
     :focus::placeholder {
        color: transparent;
      }
      textarea{
        font-family: 'Poppins', sans-serif;
        text-align: start;
        margin-left:10px;
        resize: none;
      }
      .pick_file {
      color: rgb(67, 1, 128);
      font-size: 35px;
      margin:10px;
     
      display: inline;
      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 {
      width: 500px; /* set width of image container */
      height: 500px; /* set height of image container */
      border-radius: 50%; /* make image container circular */
      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-weight: bold;
        font-size: 18px;
        border: none;
        width: 200px;
        height: 80px;
        margin-left: 35%;
        margin-bottom: 25px;
        
        font-family: 'Poppins', sans-serif;
        border-radius: 5px;
        
        
        
      }
      .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;
        
      }
      .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);
      }
      .post_img_container{
        width: 300px; /* set width of image container */
        height: 300px; /* set height of image container */
        border-radius: 50%; /* make image container circular */
        overflow: hidden;
        display: flex; /* Add display flex to center image vertically */
        align-items: center; /* Center image vertically */
        justify-content: center; /* Center image horizontally */
        margin-left: 5%;
        margin-right: 10%;
        margin-top:5%;
        margin-bottom:5%;
      }
      .post_img_container img{
      
        height: 100%;
       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;
        
      }