Files
webtek-assignment2/style.css
Brikt Wiedswang b95db501c9 task 2 target
2025-10-02 17:25:55 +02:00

132 lines
2.0 KiB
CSS

.search-bar {
background-color: #669bbc;
width: 33%;
height: 3em;
border: 0.5em solid #780000;
border-radius: 1em;
}
.search-bar:focus {
width: 100%;
border-color: #003049;
}
.search-container {
padding: 32px 0px 0px 32px;
width: 640px;
}
.target {
width: 64px;
height: 64px;
background-color: yellow;
border-radius: 100%;
}
.target-container{
display: flex;
position: relative;
justify-content: center;
width: 256px;
height: 256px;
align-items: center;
}
.circle {
position: absolute;
border-radius: 100%;
}
.circle4 {
width: 32px;
height: 32px;
background-color: yellow;
}
.circle3 {
width: 64px;
height: 64px;
background-color: red;
}
.circle2 {
width: 96px;
height: 96px;
background-color: blue;
}
.circle1 {
width: 128px;
height: 128px;
background-color: black;
}
.progress {
position: absolute;
background-color: gray;
border-radius: 32px;
width: 300px;
height: 16px;
}
.stage0 {
width: 0px;
}
.stage1 {
width: 100px;
background-color: red;
}
.stage2 {
width: 200px;
background-color: yellow;
}
.stage3 {
width: 300px;
background-color: green;
}
.card {
display: flex;
justify-content: space-between;
flex-direction: row;
width: 300px;
height: 450px;
border: 1px solid black;
border-radius: 5px;
font-family: monospace;
font-size: 32px;
}
.container>.card>.middle {
display: grid;
text-align: center;
align-items: center;
grid-template-columns: repeat(2, 96px [col-start]);
font-size: 64px;
}
.container>.card>.middle>div:nth-last-child(2) {
transform: rotate(0.5turn);
}
.container>.card>.middle>div:nth-last-child(1) {
transform: rotate(0.5turn);
}
.container>.card>.right {
text-align: left;
transform: rotate(0.5turn);
padding: 1em 0em 0em 1em;
}
.container>.card>.center {
font-size: 128px;
align-items: center;
display: flex;
}
.container>.card>.bottom {
text-align: left;
transform: rotate(0.5turn);
padding: 1em 0em 0em 1em;
}
.container>.card>.top {
padding: 1em 0em 0em 1em;
}
.container>.card>.left {
padding: 1em;
padding: 1em 0em 0em 1em;
}