moved sem 1 labs to old folder
This commit is contained in:
55
labs-old/lab3/lab3.css
Normal file
55
labs-old/lab3/lab3.css
Normal file
@@ -0,0 +1,55 @@
|
||||
h3{
|
||||
text-align: center;
|
||||
margin: 1vh;
|
||||
}
|
||||
|
||||
.content{
|
||||
background-color: lightgreen;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
.topic > b{
|
||||
display: block;
|
||||
width: 40%;
|
||||
}
|
||||
.topic * {
|
||||
display: inline-block;
|
||||
}
|
||||
.content :first-child b, .content :first-child a{
|
||||
background-color: lightgreen;
|
||||
}
|
||||
|
||||
.topic{
|
||||
/* width:calc(50%-10px); */
|
||||
padding:5px 10px;
|
||||
margin: 10px ;
|
||||
background-color: white;
|
||||
}
|
||||
@media (max-width:800px) {
|
||||
.content{
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
/* grid part */
|
||||
|
||||
p{
|
||||
margin: 5px auto;
|
||||
max-width: 600px;
|
||||
display: grid;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 5px;
|
||||
}
|
||||
p > a{
|
||||
background-color: lightgray;
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
text-align: center;
|
||||
}
|
||||
p> :first-child{
|
||||
background-color: lightgreen;
|
||||
}
|
||||
Reference in New Issue
Block a user