101 lines
1.7 KiB
SCSS
101 lines
1.7 KiB
SCSS
|
*{
|
||
|
margin: 0;
|
||
|
padding:0;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
htmll{
|
||
|
font-size: 62.5%;
|
||
|
}
|
||
|
body{
|
||
|
font-family: Helvetica,Arial, sans-serif;
|
||
|
}
|
||
|
header{
|
||
|
background-color: #222222;
|
||
|
color: #bababa;
|
||
|
padding: 1rem;
|
||
|
|
||
|
img{
|
||
|
float: left;
|
||
|
height: 3rem;
|
||
|
width: auto;
|
||
|
margin-right: 2rem;
|
||
|
}
|
||
|
|
||
|
h1{
|
||
|
font-family: Arial, Helvetica, sans-serif;
|
||
|
font-size: 2.5rem;
|
||
|
}
|
||
|
|
||
|
nav{
|
||
|
ul{
|
||
|
list-style-type: none;
|
||
|
margin-left: 0;
|
||
|
|
||
|
li{
|
||
|
display: inline-block;
|
||
|
background-color: #d3d00c;
|
||
|
color:#448344;
|
||
|
border: 1px solid black;
|
||
|
margin-left: 0;
|
||
|
font-size: 1rem;
|
||
|
padding: 2px 4px 2px 4px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
a{
|
||
|
text-decoration: none;
|
||
|
color: black;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
main{
|
||
|
position: relative;
|
||
|
padding: 1rem;
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 1fr;
|
||
|
gap: 0.4rem;
|
||
|
|
||
|
section{
|
||
|
border: 1px solid black;
|
||
|
padding: 0.4rem;
|
||
|
height: 18rem;
|
||
|
h2{
|
||
|
font-size: 1.8rem;
|
||
|
margin-bottom: 0.5rem;
|
||
|
}
|
||
|
|
||
|
h2{
|
||
|
font-size: 1.4rem;
|
||
|
margin-bottom: 0.3rem;
|
||
|
}
|
||
|
|
||
|
p{
|
||
|
margin-bottom: 0.4rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#calc{
|
||
|
border: 1px solid green;
|
||
|
padding-left: 5px;
|
||
|
padding-top: 5px;
|
||
|
padding-bottom: 5px;
|
||
|
|
||
|
input[type='number']{
|
||
|
margin: 0.3rem;
|
||
|
}
|
||
|
button{
|
||
|
margin-top: 0.2rem;
|
||
|
margin-left: 0.4rem;
|
||
|
margin-bottom: 0.2rem;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
footer{
|
||
|
background-color: #222222;
|
||
|
color: #bababa;
|
||
|
padding: 1rem;
|
||
|
}
|