-
Notifications
You must be signed in to change notification settings - Fork 0
/
0001-Removed-inconsistency-of-CSS-added-link-hover-effect.patch
119 lines (106 loc) · 2.32 KB
/
0001-Removed-inconsistency-of-CSS-added-link-hover-effect.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
From 0f9bb9cc90af82fc71f232f04f17dcf4f0c62aba Mon Sep 17 00:00:00 2001
From: unknown <[email protected]>
Date: Thu, 8 Sep 2022 09:38:22 +0530
Subject: [PATCH] Removed inconsistency of CSS & added link hover effect
---
django/media/css/main.css | 47 ++++++++++++++++++++++++++++++---------
1 file changed, 36 insertions(+), 11 deletions(-)
diff --git a/django/media/css/main.css b/django/media/css/main.css
index f7d6646..340a65e 100644
--- a/django/media/css/main.css
+++ b/django/media/css/main.css
@@ -22,7 +22,7 @@
body {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
- color: #515151;
+ color: #0D0A0B;
font-size: 11.5pt;
}
@@ -39,11 +39,10 @@ dl, ol, ul {
}
h1, h2, h3, h4, h5, h6 {
- font-family: 'Maven Pro', sans-serif;
- font-weight: 700;
- text-transform: uppercase;
- color: #515151;
- /*margin: 0 0 0.5em 0;*/
+ font-family: 'Open Sans', sans-serif;
+ font-weight: 600;
+ color: #336791;
+ /*margin: 0 0 0.5em 0;*/
}
h2 {
@@ -56,7 +55,16 @@ h3 {
font-weight: initial;
}
-#pgContentWrap h2:after, #pgSideNav h2:after {
+.h4, h4 {
+ font-size: 1.1rem;
+ text-transform: capitalize !important;
+}
+
+.h5, h5 {
+ font-size: 0.98rem;
+}
+
+#pgContentWrap h2:after {
background-color: #e7eae8;
content: '\a0';
flex-grow: 1;
@@ -65,6 +73,15 @@ h3 {
margin: .5em 0 .5em .75em;
}
+#pgSideNav h2:after {
+ background-color: #336797;
+ content: '\a0';
+ flex-grow: 1;
+ height: 2px;
+ position: relative;
+ margin: .5em 0 .5em .75em;
+}
+
#pgContentWrap h2, #pgSideNav h2 {
display: flex;
flex-direction: row;
@@ -115,8 +132,8 @@ a:hover, a:active {
}
b, strong {
- font-weight: 700;
- color: #383838;
+ font-weight: 600;
+ color: #474747 !important;
}
i, em {
@@ -537,7 +554,7 @@ ul.bold {
}
#footer a {
- color: inherit;
+ color: #336791;
}
/* #LIST DESKTOP */
@@ -591,6 +608,14 @@ ul.actions {
padding: 1em 2em;
}
+#pgContentWrap a, #docContent a {
+ color: #840032;
+}
+
+#pgContentWrap a:hover, #docContent a:hover{
+ color: #cf2263;
+}
+
#pgContentWrap h3 {
margin: 1em 0;
}
@@ -886,7 +911,7 @@ h1.subject {
/** NAVBAR */
.nav-item > a {
font-size: 0.95rem;
- font-weight: 600;
+ font-weight: 400;
}
}
@media (max-width: 575px) {
--
2.26.2.windows.1