Browse Source

add .post-text class to #post-preview, cleanup it's custom CSS

master
Simon Grim 9 years ago
parent
commit
252c347600
  1. 8
      css/style.css
  2. 2
      following.html
  3. 2
      home.html
  4. 2
      options.html
  5. 24
      theme_calm/css/style.css
  6. 12
      theme_nin/css/style.css
  7. 6
      theme_nin/sass/style.sass

8
css/style.css

@ -657,14 +657,6 @@ textarea.splited-post { @@ -657,14 +657,6 @@ textarea.splited-post {
word-wrap: break-word;
}
#post-preview a {
color: #E34F42;
}
#post-preview samp {
background-color: #F0EFCC;
}
#opt-form-post-preview #post-preview {
width: 76%;
margin-left: 16px;

2
following.html

@ -207,7 +207,7 @@ @@ -207,7 +207,7 @@
</li>
<div id="post-preview-template">
<div id="post-preview">
<div id="post-preview" class="post-text">
</div>
</div>

2
home.html

@ -299,7 +299,7 @@ @@ -299,7 +299,7 @@
</li>
<div id="post-preview-template">
<div id="post-preview">
<div id="post-preview" class="post-text">
</div>
</div>

2
options.html

@ -268,7 +268,7 @@ @@ -268,7 +268,7 @@
<p class="label label-h"> Posts display </p>
<div id="opt-form-post-preview" class="container">
<p><span class="label">Post preview</span></p>
<div id="post-preview">
<div id="post-preview" class="post-text">
</div>
</div>
<div class="container">

24
theme_calm/css/style.css

@ -786,10 +786,6 @@ textarea.splited-post { @@ -786,10 +786,6 @@ textarea.splited-post {
word-wrap: break-word;
}
#post-preview samp {
background-color: #EEE;
}
#opt-form-post-preview #post-preview {
width: 76%;
margin-left: 16px;
@ -1276,7 +1272,7 @@ textarea.splited-post { @@ -1276,7 +1272,7 @@ textarea.splited-post {
}
/* external http links */
.post-text a[href^="http"], #post-preview a[href^="http"] {
.post-text a[href^="http"] {
font: italic 13px "Open Sans", sans-serif;
text-decoration: none;
color: #b46e67;
@ -1287,12 +1283,12 @@ textarea.splited-post { @@ -1287,12 +1283,12 @@ textarea.splited-post {
transition: all 200ms;
}
.post-text a[href^="http"]:hover, #post-preview a[href^="http"]:hover {
.post-text a[href^="http"]:hover {
color: #e18881;
opacity: .8;
}
.post-text a[href^="http"]:after, #post-preview a[href^="http"]:after {
.post-text a[href^="http"]:after {
content: '';
display: inline-block;
position: relative;
@ -1310,12 +1306,11 @@ textarea.splited-post { @@ -1310,12 +1306,11 @@ textarea.splited-post {
transition: all 200ms;
}
.post-text a[href^="http"]:hover:after, #post-preview a[href^="http"]:hover:after {
.post-text a[href^="http"]:hover:after {
opacity: .8;
}
.post-text a[href^="#profile"], .follow-suggestions a[href^="#profile"],
#post-preview a[href^="#profile"] {
.post-text a[href^="#profile"], .follow-suggestions a[href^="#profile"] {
color: #5e8da4;
text-decoration: none;
-webkit-transition: all 200ms;
@ -1325,8 +1320,7 @@ textarea.splited-post { @@ -1325,8 +1320,7 @@ textarea.splited-post {
transition: all 200ms;
}
.post-text a[href^="#profile"]:hover, .follow-suggestions a[href^="#profile"]:hover,
#post-preview a[href^="#profile"]:hover {
.post-text a[href^="#profile"]:hover, .follow-suggestions a[href^="#profile"]:hover {
color: #76b2ce;
}
@ -1334,8 +1328,7 @@ textarea.splited-post { @@ -1334,8 +1328,7 @@ textarea.splited-post {
font-size: 11px;
}
.toptrends-list a[href^="#hashtag"], .post-text a[href^="#hashtag"],
#post-preview a[href^="#hashtag"] {
.toptrends-list a[href^="#hashtag"], .post-text a[href^="#hashtag"] {
color: #5e72a4;
text-decoration: none;
-webkit-transition: all 200ms;
@ -1345,8 +1338,7 @@ textarea.splited-post { @@ -1345,8 +1338,7 @@ textarea.splited-post {
transition: all 200ms;
}
.toptrends-list a[href^="#hashtag"]:hover, .post-text a[href^="#hashtag"]:hover,
#post-preview a[href^="#hashtag"]:hover {
.toptrends-list a[href^="#hashtag"]:hover, .post-text a[href^="#hashtag"]:hover {
color: #768fce;
}

12
theme_nin/css/style.css

@ -2281,18 +2281,6 @@ textarea.splited-post { @@ -2281,18 +2281,6 @@ textarea.splited-post {
word-wrap: break-word;
}
#post-preview a {
color: #AAA;
}
#post-preview a:hover {
color: #B4C669;
}
#post-preview samp {
background-color: #EEE;
}
#opt-form-post-preview {
width: 100%;
}

6
theme_nin/sass/style.sass

@ -361,12 +361,6 @@ ul.userMenu-search-profiles @@ -361,12 +361,6 @@ ul.userMenu-search-profiles
margin: 4px 0
padding: 4px
word-wrap: break-word
a
color: #AAA
a:hover
color: $color-green
samp
background-color: #EEE
#opt-form-post-preview
width: 100%

Loading…
Cancel
Save