assets/css/style.css in sora-elegant-theme-0.1.1 vs assets/css/style.css in sora-elegant-theme-0.1.2
- old
+ new
@@ -17,11 +17,12 @@
display: block
}
h1 {
font-size: 2em;
- margin: .67em 0
+ margin: 0 auto;
+ text-align: center
}
figcaption,
figure,
main {
@@ -808,36 +809,35 @@
.content {
padding-top: 1em
}
.header {
- background-color: #2092df;
- background-size: cover;
- color: #fff;
- padding: 0;
- height: 3em
+ background-color: #2092df;
}
.header .container {
padding: 0;
- max-width: 100%
+ max-width: 100%;
+ text-align: center
}
.header h1 {
- margin: 0;
+ margin: 0 auto;
float: left;
padding-left: 2rem;
font-size: 1em;
line-height: 3em;
font-family: Open Sans, Helvetica, Arial, sans-serif;
font-weight: 800;
- text-transform: uppercase
+ text-transform: uppercase;
+ text-align: center
}
.header h1 a {
color: #d0d0d0;
- text-decoration: none
+ text-decoration: none;
+ text-align: center
}
.post .postTitle {
text-align: center;
margin-top: 2rem;
@@ -1125,11 +1125,12 @@
margin: 2rem auto 1em
}
.header {
height: 15em;
position: relative;
- padding-bottom: 2em
+ padding-bottom: 2em;
+ margin: 0% auto
}
.header .container {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
@@ -1139,11 +1140,13 @@
}
.header h1 {
font-size: 3em;
line-height: 1;
letter-spacing: -3px;
- padding-left: 0
+ padding-left: 0;
+ margin: 0% auto;
+ text-align: center
}
.header nav {
float: left;
clear: left
}
@@ -1273,6 +1276,6 @@
font-size: 137.5%
}
.container {
max-width: 990px
}
-}
\ No newline at end of file
+}