Skip to content

Commit 2fd2de4

Browse files
committed
css cleanup
1 parent fe12a89 commit 2fd2de4

6 files changed

Lines changed: 22 additions & 17 deletions

File tree

src/main/webapp/sass/_base.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,13 @@ pre {
5555

5656
#sitetitle {
5757
padding-left: 0.5rem;
58+
font-size: 1.6em;
59+
margin-right: 0;
5860

5961
@include respond-to(tablet-and-desktops) {
6062
padding-left: 1.5rem;
63+
float: left;
64+
font-size: 2em;
6165
}
6266
}
6367

src/main/webapp/sass/_responsive.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@
107107
text-align: left;
108108
}
109109

110-
#sitetitle {
111-
font-size: 1.6em;
112-
float: none;
113-
margin-right: 0;
114-
}
115-
116110
#commentForm textarea {
117111
height: 10em;
118112
}

src/main/webapp/sass/tango/_style.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ p {
5959
font-weight: 600;
6060
font-family: "Open Sans", sans-serif;
6161
padding-top: 0.5rem;
62-
font-size: 2em;
6362
display: block;
64-
float: left;
6563
padding-right: 0.5em;
66-
margin-right: 0.5em;
64+
65+
@include respond-to(tablet-and-desktops) {
66+
margin-right: 0.5em;
67+
}
6768

6869
a {
6970
color: $site_title_color;

src/main/webapp/sass/waltz/_style.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ p {
6262
font-weight: 600;
6363
font-family: "Open Sans", sans-serif;
6464
padding-top: 0.5rem;
65-
font-size: 2em;
6665
display: block;
67-
float: left;
6866
padding-right: 0.5em;
69-
margin-right: 0.5em;
67+
68+
@include respond-to(tablet-and-desktops) {
69+
margin-right: 0.5em;
70+
}
7071

7172
a {
7273
text-decoration: none;

src/main/webapp/sass/white2/_style.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,15 @@ blockquote {
158158
}
159159

160160
#sitetitle {
161-
font-size: 2em;
162161
font-weight: bold;
163-
margin-right: 1em;
164162
display: block;
165-
float: left;
166163
text-decoration: none;
167164
color: $site_title_color !important;
165+
166+
@include respond-to(tablet-and-desktops) {
167+
padding-left: 0.2em;
168+
margin-right: 1em;
169+
}
168170
}
169171

170172
#loginGreating {

src/main/webapp/sass/zomg_ponies/_style.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,18 @@ a:hover {
107107
}
108108

109109
#sitetitle {
110-
font-size: 32px;
111110
font-weight: bold;
112111
margin-right: 20px;
113112
text-decoration: none;
114113
display: inline-block;
115-
float: left;
116114
color: $header_color;
117115
padding-top: 0;
118116
padding-left: 0;
117+
118+
@include respond-to(tablet-and-desktops) {
119+
margin-right: 20px;
120+
font-size: 32px;
121+
}
119122
}
120123

121124
#twilight_logo {

0 commit comments

Comments
 (0)