Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CultureConnect #36

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
400 changes: 400 additions & 0 deletions Hacknation /Hack-Runners/CultureConnect Final/Landing.css

Large diffs are not rendered by default.

321 changes: 321 additions & 0 deletions Hacknation /Hack-Runners/CultureConnect Final/Landing2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,321 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
/* body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: #25000d;
From https://css.glass
background-color: ;: rgba(107, 22, 51, 0.5);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(12.7px);
-webkit-backdrop-filter: blur(12.7px);
background: transparent;
} */
::selection{
color: #fff;
background: #1a81ff;
}
.modal-container{
width: 500px;
/* height: 480px; */
overflow: hidden;
background: #fff;
border-radius: 10px;
transition: height 0.2s ease;
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}


.modal-container.active{
height: 590px;
}
.modal-container .wrapper{
width: 1000px;
display: flex;
}
.modal-container .wrapper section{
width: 500px;
background: #fff;
}
.modal-container .modal-img{
cursor: pointer;
}
.modal-container .post{
transition: margin-left 0.18s ease;
}
.modal-container.active .post{
margin-left: -500px;
}

.createPosthead {
display: grid;
grid-template-columns: 80% 2%;
justify-content: space-around;
align-items: center;
border-bottom: 1px solid #bfbfbf;
}

.createPosthead button{
background: white;
}

.createPosthead i{
font-size: 1.5rem;
align-items: center;
width: 0;
}

.post header{
font-size: 22px;
font-weight: 600;
padding: 17px 0;
text-align: center;
}
.post form{
margin: 20px 25px;
}
.post form .content,
.audience .list li .column{
display: flex;
align-items: center;
}
.post form .content img{
cursor: default;
max-width: 65px;
}
.post form .content .details{
margin: -3px 0 0 12px;
}
form .content .details p{
font-size: 17px;
font-weight: 500;
}
.content .details .privacy{
display: flex;
height: 25px;
cursor: pointer;
padding: 0 10px;
font-size: 11px;
margin-top: 3px;
border-radius: 5px;
align-items: center;
max-width: 98px;
background: #E4E6EB;
justify-content: space-between;
}
.details .privacy span{
font-size: 13px;
margin-top: 1px;
font-weight: 500;
}
.details .privacy i:last-child{
font-size: 13px;
margin-left: 1px;
}
form :where(textarea, button){
width: 100%;
outline: none;
border: none;
}
form textarea{
resize: none;
font-size: 18px;
margin-top: 30px;
min-height: 100px;
}
form textarea::placeholder{
color: #858585;
}
form textarea:focus::placeholder{
color: #b3b3b3;
}
form :where(.theme-emoji, .options){
display: flex;
align-items: center;
justify-content: space-between;
}
.theme-emoji img:last-child{
max-width: 24px;
}
form .options{
height: 57px;
margin: 15px 0;
padding: 0 15px;
border-radius: 7px;
border: 1px solid #B9B9B9;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
form .options :where(.list, li),
.audience :where(.arrow-back, .icon, li .radio){
display: flex;
align-items: center;
justify-content: center;
}
form .options p{
color: #595959;
font-size: 15px;
font-weight: 500;
cursor: default;
}
form .options .list{
list-style: none;
}
.options .list li{
height: 42px;
width: 42px;
margin: 0 -1px;
cursor: pointer;
border-radius: 50%;
}
.options .list li:hover{
background: #f0f1f4;
}
.options .list li img{
width: 23px;
}
form button{
height: 53px;
color: #fff;
font-size: 18px;
font-weight: 500;
cursor: pointer;
color: #BCC0C4;
cursor: no-drop;
border-radius: 7px;
background: #e2e5e9;
transition: all 0.3s ease;
}
form textarea:valid ~ button{
color: #fff;
cursor: pointer;
background: #180008;
}
form textarea:valid ~ button:hover{
background: #180008;
}
.modal-container .audience{
opacity: 0;
transition: opacity 0.12s ease;
}
.modal-container.active .audience{
opacity: 1;
}
.audience header{
padding: 17px 0;
text-align: center;
position: relative;
border-bottom: 1px solid #bfbfbf;
}
.audience header .arrow-back{
position: absolute;
left: 25px;
width: 35px;
height: 35px;
cursor: pointer;
font-size: 15px;
color: #747474;
border-radius: 50%;
background: #E4E6EB;
}
.audience header p{
font-size: 22px;
font-weight: 600;
}
.audience .content{
margin: 20px 25px 0;
}
.audience .content p{
font-size: 17px;
font-weight: 500;
}
.audience .content span{
font-size: 14px;
color: #65676B;
}
.audience .list{
margin: 15px 16px 20px;
list-style: none;
}
.audience .list li{
display: flex;
cursor: pointer;
margin-bottom: 5px;
padding: 12px 10px;
border-radius: 7px;
align-items: center;
justify-content: space-between;
}
.list li.active,
.audience .list li.active:hover{
background: #E5F1FF;
}
.audience .list li:hover{
background: #f0f1f4;
}
.audience .list li .column .icon{
height: 50px;
width: 50px;
color: #333;
font-size: 23px;
border-radius: 50%;
background: #E4E6EB;
}
.audience .list li.active .column .icon{
background: #cce4ff;
}
.audience .list li .column .details{
margin-left: 15px;
}
.list li .column .details p{
font-weight: 500;
}
.list li .column .details span{
font-size: 14px;
color: #65676B;
}
.list li .radio{
height: 20px;
width: 20px;
border-radius: 50%;
position: relative;
border: 1px solid #707070;
}
.list li.active .radio{
border: 2px solid #4599FF;
}
.list li .radio::before{
content: "";
width: 12px;
height: 12px;
border-radius: inherit;
}
.list li.active .radio::before{
background: #4599FF;
}

.modal-img
{
width: 3rem;
}

.modal{
position: absolute;
top: 50%;
left: 50%;
height: 540px;
width: 600px;
border-radius: 15px;
transform: translate(-50%, -50%);
}

.modal::backdrop {
background: rgb(0 0 0 / 0.7);
}
13 changes: 13 additions & 0 deletions Hacknation /Hack-Runners/CultureConnect Final/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var swiper = new Swiper('.blog-slider', {
spaceBetween: 30,
effect: 'fade',
loop: true,
mousewheel: {
invert: false,
},
// autoHeight: true,
pagination: {
el: '.blog-slider__pagination',
clickable: true,
}
});
Loading