Skip to content

Commit

Permalink
Merge pull request #3393 from dipak2005/bug_fixer
Browse files Browse the repository at this point in the history
improve event page
  • Loading branch information
sailaja-adapa authored Oct 13, 2024
2 parents 723bc3c + a5b5f1b commit 2eeee37
Show file tree
Hide file tree
Showing 5 changed files with 463 additions and 329 deletions.
248 changes: 248 additions & 0 deletions assets/css/event.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
* {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;

}
h1 {
margin-left: 20px;
color:crimson;
padding: 10px;
}
body {
display: flex;
flex-direction: column;
align-items: center;
background: linear-gradient(to right, #ff9a9e, #fad0c4, #fad0c4);

}

header {

height: 100px;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
box-shadow: 10px 10px 15px 11px rgba(0.2, 0.2, 0, 0.5);

padding: 1em ;
text-align: center;
}

nav {

}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}

nav ul li {

display: inline;
margin: 0 1em;
}
nav ul li a {
color: crimson;
text-decoration: none;
}
nav ul li a:hover {

color: rgb(207, 79, 158);
padding: 10px;
border: none;
border-radius: 5px;
transform: anim;
transition: all 0.1s linear;
background-color: white;
text-decoration: none;
}
@keyframes anim {
from {
transform: scale(0.2,0.4);
}
to {
transform: scale(0.7,0.9);
}
}

main {

padding: 1em;
width: 100%;
max-width: 800px;
display: flex;
flex-direction: column;
align-items: center;
}

section {
margin-bottom: 2em;
width: 100%;
}

h2 {
color: #450105;
}



.close-button {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close-button:hover,
.close-button:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.ul {
text-decoration: black;
}

#event-calendar {
width: 100%;
max-width: 800px;
background: linear-gradient(to right, #ff9a9e, #fad0c4, #fad0c4);
padding: 2em;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.calendar-header {

display: flex;
justify-content: space-between;
align-items: center;
}

.calendar-header button {
/* background: #fad0c4; */
background: #450105;
box-sizing: border-box;

color: #fff;
border: none;
padding: 0.5em 1em;
border-radius: 5px;
cursor: pointer;
}

.calendar-header h3 {
margin: 0;
}

table {
width: 100%;
border-collapse: collapse;
margin-top: 1em;
}

thead th {
background: #450105;
color: #fff;
padding: 0.5em 0;
}

tbody td {
padding: 1em;
text-align: center;
cursor: pointer;
transition: background 0.3s;
}

tbody td:hover {

background: #f4f4f9;
border-radius: 4px;
}

.event {
background: #f39c12;
color: #fff;
border-radius: 50%;
padding: 0.3em;
}

#event-details {
margin-top: 2em;
width: 100%;
}

#event-list {
list-style: none;
padding: 0;
}

#event-list li {
background: #f39c12;
color: #fff;
margin: 0.5em 0;
padding: 1em;
border-radius: 5px;
}
.footer{
position: absolute;
left: 0%;
background-color: #FF9B9B;
width: 100%;

padding:30px 0px;
font-family: 'Play', sans-serif;
text-align:center;
}

.footer .row{
width:100%;
margin:1% 0%;
padding:0.6% 0%;
color:white;
font-size:0.8em;
}

.footer .row a{
text-decoration:none;
color:white;
transition:0.5s;
}

.footer .row a:hover{
color:#450105;
}

.footer .row ul{
width:100%;
}

.footer .row ul li{
display:inline-block;
margin:0px 30px;
}

.footer .row a i{
font-size:2em;
margin:0% 1%;
}

@media (max-width:720px){
.footer{
text-align:left;
padding:5%;
}
.footer .row ul li{
display:block;
margin:10px 0px;
text-align:left;
}
.footer .row a i{
margin:0% 3%;
}
}
Loading

0 comments on commit 2eeee37

Please sign in to comment.