Files
tealcode-django-python/TealCode/main/static/main/css/style.css
2021-11-10 16:05:44 +01:00

185 lines
3.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
*{
padding: 0;
margin:0;
font-family: 'Roboto', sans-serif;
color: white;
}
body{
background-color: rgb(38, 38, 42);
}
body header{
background-color: rgb(34, 102, 71);
padding: 10px;
padding-left: 150px;
box-shadow: 0px 1px 20px 3px #1f1d1d;
}
body header h1{
letter-spacing: 5.5px;
}
body header div{
float: right;
margin-top: -25px;
margin-right: 100px;
}
body header div a{
letter-spacing: 1.5px;
padding-right: 10px;
padding-left: 10px;
cursor:pointer;
transition: 0.1s;
transition-timing-function: linear;
text-decoration: none;
font-weight: bold;
text-align: center ;
}
body header div .a-current{
color:rgb(0, 255, 106);
text-decoration: underline;
}
body header div a:hover{
color:rgb(0, 255, 106);
text-decoration: underline;
}
body main #main-content{
background-color: rgb(26, 26, 29);
width: 700px;
box-shadow: 0px 0px 5px 1px #1f1d1d;
display: block;
margin-left: auto;
margin-right: auto;
padding-top: 20px;
padding-bottom: 10px;
margin-top: 40px;
}
body main #main-content #main-headline h2{
text-align: center;
letter-spacing: 2.5px;
text-transform: capitalize;
}
body main #main-content #main-content-code{
width: 600px;
margin-left: 50px;
margin-top: 50px;
margin-bottom: 50px;
}
body main #main-content #list{
width: 700px;
margin-top: 50px;
margin-bottom: 50px;
}
body main #main-content #list .list-item{
width: 600px;
margin-left: 50px;
margin-top: 10px;
padding-top: 10px;
padding-bottom: 10px;
background-color: rgb(14, 139, 87);
transition-timing-function: linear;
transition: 0.1s;
cursor:pointer;
}
body main #main-content #list .list-item:hover{
box-shadow: 0px 0px 10px 1px #4b4b4b;
background-color: rgb(31, 177, 116);
}
body main #main-content #list .list-item p{
letter-spacing: 1px;
margin-left: 50px;
font-size: 14pt;
}
body main #main-content #list .list-item img{
float: left;
width: 32px;
height: 32px;
margin-left: 10px;
margin-top: -5px;
}
body main #main-content .note{
margin-top: 20px;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
background-color: rgb(80, 83, 82);
}
body main #main-content .note p{
color: rgb(202, 202, 202);
font-size: 10pt;
}
#button-content{
height: 60px;
width: 100%;
display: block;
float:left;
margin-bottom: 20px;
}
#button-content div{
height: 60px;
width: 200px;
margin-left: 25px;
display: block;
float:left;
}
#button-content div a{
width: 100%;
display: block;
text-align: center;
font-size: 13pt;
font-weight: bold;
text-decoration: none;
padding-top: 15px;
padding-bottom: 15px;
background-color: rgba(95, 255, 175, 0.1);
border: 5px solid rgb(34, 102, 71);
transition: 0.1s;
transition-timing-function: linear;
}
#button-content div a:hover{
background-color: rgba(137, 250, 194, 0.3);
border: 5px solid rgb(107, 255, 181);
}
#search{
width: 100%;
height: 30px;
}
#search input{
width: 80%;
height: 100%;
background-color: rgba(255, 255, 255, 0.014);
border: 3px solid rgb(34, 102, 71);
outline: 0;
font-size: 13pt;
font-weight: bold;
padding-left:10px;
padding-right: 10px;
display: block;
margin-top: 10px;
margin-left: auto;
margin-right: auto;
}