Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
2.6 kB
7
Indexable
Never
/* 
 * Quick Reset
 */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
 *Basic Tags
 */
p{
  margin:30px 0;
  line-height: 25px;
}

h3{
  font-family: 'Roboto', sans-serif;
  padding:10px 0;
}

a{
/*Apply combination of text-align and display to align links to center.*/
  text-align: center;
  display: block;
  margin: 10px 0;
  color: #6a009c;
}

a:hover{
  text-decoration: none;
  color: #a400f0;
}

img{
  border: solid 3px #fff;
  margin: 5px 0;
}

h1 {
  font-family: 'Arvo', serif;
  font-size: 80px;
  text-align:center;
  margin:0;
  padding:50px 0 0 0;
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  text-align:center;
}

/* 
 * Page Structure 
 */
body {
  font-family: Arial, sans-serif;
  margin:0;
  padding:0;
}

header {
  width:100%;
  height:200px;
  margin:0 0 30px 0;
  padding:0;
  background-image: url('ga.jpeg');
  color: #ffffff;
  text-align: center;
}

main {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px;
  background-image: url('galaxy.jpeg');
}

footer {
  background-color: #ea6324;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/*
 * Create a three column layout.
 * Based on: https://www.w3schools.com/css/css3_flexbox.asp
 */
.flex-item {
  flex: 1 1 300px;
  background-color: #ea6324;
  border: 1px solid #ffffff;
  margin: 60px;
  padding: 20px;
}

.box{
  width:80%;
  min-width: 400px;

  /*Align box to center & apply bottom margin*/
  margin: 0 auto 100px auto;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

footer {
  background-color: #ea6324;

  /* Adjust width to browser & apply auto height based on content. */
  width:100%;
  height: auto;
  text-align: center;
  font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color:#fff;
  padding: 0;
  margin:0;
}

/*
 * Extras
 */
.smallText{
  font-size: 13px;
  margin:0;
  padding:40px;
}
.fancySubTitle{
  border-radius: 30px;
  background-color: #a15d1d98;
  margin:40px 0 10px 0;
  padding:0;
  width:100%;
  text-align: center;
}


.banner {
    border: 1px solid #000;
    height: 100px;
    width: 600px;
}

/*
 * Small animation of image hover.
 * Based on: https://www.w3schools.com/css/css3_transitions.asp
 */
img {
    -webkit-transition: .25s;
       -moz-transition: .25s;
        -ms-transition: .25s;
         -o-transition: .25s;
            transition: .25s;
}
img:hover {
    scale: 1.1;
}
Leave a Comment