Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
add styles
  • Loading branch information
tajulafreen committed Apr 3, 2024
commit 759a10b206a950b880cf5a4a5db41c018ce1db88
38 changes: 38 additions & 0 deletions Source-Code/EventCode/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
* {
box-sizing: border-box;
}

body {
background-color: floralwhite;
font-family: "Segoe UI", sans-serif;
margin: 0;
overflow: hidden;
height: 100vh;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}

.key{
border: 1px solid #999;
background-color: #eee;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
align-items: center;
font-size: 20px;
font-weight: bold;
padding: 20px;
flex-direction: column;
margin: 10px;
min-width: 150px;
position: relative;
}
.key small {
position: absolute;
top: -24px;
left: 0;
text-align: center;
width: 100%;
font-size: 14px;
color: #555;
}