From 9718c474fb3b649de7f9e9f7b47d15ef088faa76 Mon Sep 17 00:00:00 2001 From: Saivann Date: Sat, 13 Dec 2014 20:06:30 -0500 Subject: [PATCH] Improve styles for actions in devel-docs Apply consistent title and paragraph margins Increase space between titles and actions for better readability Use a different font-size for actions to separate them from the content --- _less/screen.less | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/_less/screen.less b/_less/screen.less index c3d1d344..50dbfad1 100644 --- a/_less/screen.less +++ b/_less/screen.less @@ -763,29 +763,26 @@ table td,table th{ position:relative; text-align: left; } +.toccontent h2, +.toccontent h3, +.toccontent h4, +.toccontent h5, +.toccontent h6{ + color:#383838; + margin-top: 40px; + margin-bottom: 0; +} .toccontent h2{ font-size:150%; - color:#383838; - margin-top: 30px; - margin-bottom: 0; } .toccontent h3{ font-size:130%; - color:#383838; - margin-top: 30px; - margin-bottom: 0; } .toccontent h4{ font-size:110%; - color:#383838; - margin-top: 30px; - margin-bottom: 0; } .toccontent h5,.toccontent h6{ font-size:100%; - color:#383838; - margin-top: 30px; - margin-bottom: 0; } .toccontent img{ max-width:100%; @@ -807,6 +804,9 @@ table td,table th{ } .toccontent .subhead-links{ visibility: hidden; + font-size: 85%; + height: 18px; + padding-top: 7px; } .toccontent:hover .subhead-links{ visibility: visible;