Skip to content

Commit 11f3925

Browse files
authored
Tweak unity lights on theme (#1626)
1 parent 3584db9 commit 11f3925

File tree

1 file changed

+91
-86
lines changed

1 file changed

+91
-86
lines changed

themes/unity-lights-on.css

Lines changed: 91 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -3,102 +3,107 @@
33
* Preview - https://axorax.github.io/mit-license-themes-axorax/preview?theme=unity-lights-on
44
*/
55

6-
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
6+
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap");
77

8-
body {
9-
margin: 0;
10-
font-family: 'Source Sans Pro', sans-serif;
11-
line-height: 1.5;
12-
background: #f2f2f2;
13-
color: #141414;
14-
}
8+
body {
9+
margin: 0;
10+
font-family: "Source Sans Pro", sans-serif;
11+
line-height: 1.5;
12+
background: #f2f2f2;
13+
color: #141414;
14+
}
1515

16-
a {
17-
text-decoration: none;
18-
color: #1152f6;
19-
}
16+
a {
17+
text-decoration: none;
18+
color: #1152f6;
19+
}
2020

21-
a:hover, a:focus {
22-
text-decoration: underline;
23-
}
21+
a:hover,
22+
a:focus {
23+
text-decoration: underline;
24+
}
2425

25-
article, footer {
26-
width: 51.5rem;
27-
max-width: calc(100% - 6rem);
28-
margin: 1.2em auto 0 auto;
29-
border-radius: 5px;
30-
padding: 2rem;
31-
background: #fdfdfd;
32-
border: 1.3px solid #c7c7c7;
33-
font-size: 16px;
34-
}
26+
article,
27+
footer {
28+
width: 51.5rem;
29+
max-width: calc(100% - 6rem);
30+
margin: 1.2em auto 0 auto;
31+
border-radius: 5px;
32+
padding: 2rem;
33+
background: #fdfdfd;
34+
border: 1.3px solid #c7c7c7;
35+
font-size: 16px;
36+
}
3537

36-
article p:nth-last-child(2) {
37-
padding: .8rem 1.2rem;
38-
position: relative;
39-
border-radius: 0 5px 5px 0;
40-
background: linear-gradient(to right, #8a23872f, #e940572f, #f271212f);
41-
}
42-
43-
article p:nth-last-child(2)::before {
44-
content: '';
45-
position: absolute;
46-
background: linear-gradient(to bottom, #8a2387, #e94057, #f27121);
47-
height: 100%;
48-
width: 3px;
49-
top: 0;
50-
left: 0;
51-
}
38+
article p:nth-last-child(2) {
39+
padding: 0.8rem 1.2rem;
40+
position: relative;
41+
border-radius: 0 5px 5px 0;
42+
background: linear-gradient(to right, #8a23872f, #e940572f, #f271212f);
43+
}
44+
45+
article p:nth-last-child(2)::before {
46+
content: "";
47+
position: absolute;
48+
background: linear-gradient(to bottom, #8a2387, #e94057, #f27121);
49+
height: 100%;
50+
width: 3px;
51+
top: 0;
52+
left: 0;
53+
}
5254

53-
footer {
54-
width: 54rem;
55-
max-width: calc(100% - 3.6rem);
56-
text-align: center;
57-
padding: 0 .8rem !important;
58-
margin-bottom: 1em;
59-
}
55+
footer {
56+
width: 54rem;
57+
max-width: calc(100% - 3.6rem);
58+
text-align: center;
59+
padding: 0 0.8rem !important;
60+
margin-bottom: 1em;
61+
}
6062

61-
footer a, footer p {
62-
color: #6e6e6e;
63-
padding: 0 !important;
64-
transition: 400ms;
65-
}
63+
footer a,
64+
footer p {
65+
color: #9e9e9e;
66+
padding: 0 !important;
67+
transition: 400ms;
68+
}
6669

67-
footer a:hover, footer a:focus {
68-
color: #181818;
69-
text-decoration: none;
70-
}
70+
footer a:hover,
71+
footer a:focus {
72+
color: #181818;
73+
text-decoration: none;
74+
}
7175

72-
h1 {
73-
margin-top: 0;
74-
font-weight: normal;
75-
display: inline;
76-
padding: 0 0 3px 0;
77-
line-height: 36px;
78-
background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
79-
-webkit-background-clip: text;
80-
-webkit-text-fill-color: transparent;
81-
background-clip: text;
82-
fill: transparent;
83-
}
76+
h1 {
77+
margin-top: 0;
78+
font-weight: normal;
79+
display: inline;
80+
padding: 0 0 3px 0;
81+
line-height: 36px;
82+
background: linear-gradient(to right, #8a2387, #e94057, #f27121);
83+
-webkit-background-clip: text;
84+
-webkit-text-fill-color: transparent;
85+
background-clip: text;
86+
fill: transparent;
87+
}
8488

85-
article p:first-of-type {
86-
margin-top: 1.6em;
87-
}
89+
article p:first-of-type {
90+
margin-top: 1.6em;
91+
}
8892

89-
article p:last-child {
90-
margin-bottom: 0;
91-
}
93+
article p:last-child {
94+
margin-bottom: 0;
95+
}
9296

93-
::selection {
94-
background: #2d68fc;
95-
}
97+
::selection {
98+
background: #2d68fc;
99+
color: #fff;
100+
}
96101

97-
#gravatar {
98-
position: relative;
99-
float: right;
100-
margin-bottom: 1em;
101-
margin-left: 1em;
102-
border-radius: 50%;
103-
border: 1.3px solid #c7c7c7;
104-
}
102+
#gravatar {
103+
position: relative;
104+
float: right;
105+
margin-bottom: 1em;
106+
margin-left: 1em;
107+
border-radius: 50%;
108+
border: 1.3px solid #c7c7c7;
109+
}

0 commit comments

Comments
 (0)