Difference between revisions of "Template:DTU-Denmark/designCSS"

 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<style>
 
<style>
 +
 +
 +
.computerdiv{
 +
width:100%;
 +
margin-left:auto;
 +
margin-right:auto;
 +
text-align:center;
 +
}
 +
 +
 +
.df1computer{
 +
width:30%;
 +
}
  
 
.design1contain{
 
.design1contain{
Line 248: Line 261:
  
 
@media screen and (max-width: 465px){
 
@media screen and (max-width: 465px){
 +
.df1computer {
 +
    width: 100%;
 +
}
 +
 
.df1promoter {
 
.df1promoter {
 
       position: relative;
 
       position: relative;
 
     z-index: 1;
 
     z-index: 1;
     width: 80%;
+
     width: 60%;
 
     margin: auto;
 
     margin: auto;
 +
    left: 20%;
 +
    top: 0%;
 
}
 
}
  
Line 280: Line 299:
 
}
 
}
  
 +
.design2contain{
 +
margin-top: 10%;
  
 +
}
  
 
}
 
}

Latest revision as of 10:38, 20 October 2019