Created
May 19, 2020 02:47
-
-
Save clintonyeb/3cf692819ed10a60a6b565776ec1e1cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
font-size: 30px; | |
color: #fff; | |
text-transform: uppercase; | |
font-weight: 300; | |
text-align: center; | |
margin-bottom: 15px; | |
} | |
table { | |
width: 100%; | |
table-layout: fixed; | |
} | |
thead { | |
background-color: rgba(255, 255, 255, 0.3); | |
} | |
.tbody { | |
height: 300px; | |
overflow-x: auto; | |
margin-top: 0px; | |
border: 1px solid rgba(255, 255, 255, 0.3); | |
} | |
th { | |
padding: 20px 15px; | |
text-align: left; | |
font-weight: 500; | |
font-size: 12px; | |
text-transform: uppercase; | |
} | |
td { | |
padding: 15px; | |
text-align: left; | |
vertical-align: middle; | |
font-weight: 300; | |
font-size: 12px; | |
border-bottom: solid 1px rgba(255, 255, 255, 0.1); | |
} | |
/* demo styles */ | |
@import url(https://fonts.googleapis.com/css?family=Roboto:400); | |
body { | |
background: -webkit-linear-gradient(left, #25c481, #25b7c4); | |
background: linear-gradient(to right, #25c481, #25b7c4); | |
font-family: "Roboto", sans-serif; | |
} | |
.is-white { | |
color: white; | |
} | |
.is-danger { | |
color: red; | |
} | |
.is-warning { | |
color: yellow; | |
} | |
/* Search input */ | |
.d-inline-flex { | |
display: inline-flex; | |
} | |
input[type="search"] { | |
margin-top: 1rem; | |
-webkit-appearance: none !important; | |
background-clip: padding-box; | |
background-color: white; | |
vertical-align: middle; | |
border-radius: 0.25rem; | |
border: 1px solid #e0e0e5; | |
font-size: 1rem; | |
width: 100%; | |
line-height: 2; | |
padding: 0.375rem 1.25rem; | |
transition: border-color 0.2s; | |
} | |
input[type="search"]:focus { | |
transition: all 0.5s; | |
box-shadow: 0 0 40px #f9d442b9; | |
border-color: #f9d342; | |
outline: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment