Commits

Eli Collins committed 747c4cd

code, admonition, and versionmodified styling tweaked

  • Participants
  • Parent commits 4312ee8

Comments (0)

Files changed (4)

File cloud_sptheme/themes/cloud/static/cloud.css_t

     background: {{ theme_admonition_note_color }};
     border: 1px solid {{ theme_admonition_trim_color }};
     border-width: 0 1px 1px 0;
-    margin: 1em 0;
+    margin: 1.5em;
     padding: .5em;
     {{border_radius("0 0.7em")}}
+    font-size: {{ theme_admonition_size }};
 }
 
 {% set icon_size_em = "2.65em" %}
 }
 
 /*****************************************************
+ * document - verionchanged/modified/deprecated
+ *****************************************************/
+div.deprecated, div.versionchanged, div.versionadded
+{
+  font-size: {{ theme_admonition_size }};
+  {{opacity("0.6")}};
+}
+
+{# always contained in one of above sections #}
+span.versionmodified
+{
+  font-weight: bold;
+}
+
+/*****************************************************
  * document - quoted text (TT & PRE)
  *****************************************************/
 
 
     background-color: {{ theme_codebgcolor }};
     border: 1px solid {{ theme_codetrimcolor }};
-    border-width: 0 4px;
-    {{border_radius("8px")}}
+/*    border-width: 0 4px;
+    {{border_radius("8px")}}*/
+    border-width: 1px 0;
 
     font-family: {{ theme_codeblockfont }};
     font-size: 85%;

File cloud_sptheme/themes/cloud/theme.conf

 admonition_deprecated_color = #fbece0
 admonition_todo_color = #FFF7E0
 admonition_trim_color = rgba(0,0,0,.05)
-admonition_title_color = rgba(0,0,0,.07);
+admonition_title_color = rgba(0,0,0,.05);
+admonition_size = 88%
 
 # tables
 table_header_color = rgba(0,0,0,.15)

File cloud_sptheme/themes/redcloud/static/redcloud.css_t

 
 @import url("cloud.css");
 
+{#
 div.highlight pre,
 div.highlight-python pre
 {
     -moz-border-radius: 6px;
     -webkit-border-radius: 6px;
 }
+#}

File cloud_sptheme/themes/redcloud/theme.conf

 
 #styling for document body
 linkcolor       = #690A00
-codebgcolor      = #FFF8E7
+#codebgcolor      = #FFEFCF
+codebgcolor      = #E7F3FF
 codetrimcolor    = rgba(0,0,0,.15)
 
 #styling for document headers