Skip to content

Commit 796e90d

Browse files
committed
Fixed issue with issue markers style
1 parent 01132ef commit 796e90d

3 files changed

Lines changed: 50 additions & 26 deletions

File tree

css3-regions/Overview.html

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,27 @@
3535
opacity: 1;
3636
color: #46A4E9;
3737
}
38+
39+
.issue.resolved, .issue.stale, .issue.moved {
40+
display: none;
41+
}
42+
43+
44+
#region-style-example p, #region-style-example pre {
45+
clear: both;
46+
}
3847

39-
div.issue-marker {
40-
color: red;
41-
margin: 1em 0;
42-
font-weight: normal;
43-
padding: .5em;
44-
border-left: .5em solid #E05252;
45-
background: #FBE9E9;
48+
#region_styling_illustration {
49+
margin: 0px auto;
50+
width: 70ex;
4651
}
4752

48-
div.issue-marker a {
49-
color: red;
53+
#default-fragment-shader:before {
54+
content: "Default fragment shader";
5055
}
51-
52-
.issue.resolved, .issue.stale, .issue.moved {
53-
display: none;
56+
57+
#default-vertex-shader:before {
58+
content: "Default vertex shader";
5459
}
5560
</style>
5661
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet

css3-regions/Overview.src.html

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,31 @@
3838
opacity: 1;
3939
color: #46A4E9;
4040
}
41+
42+
.issue.resolved, .issue.stale, .issue.moved {
43+
display: none;
44+
}
45+
46+
47+
#region-style-example p, #region-style-example pre {
48+
clear: both;
49+
}
4150

42-
div.issue-marker {
43-
color: red;
44-
margin: 1em 0;
45-
font-weight: normal;
46-
padding: .5em;
47-
border-left: .5em solid #E05252;
48-
background: #FBE9E9;
51+
#region_styling_illustration {
52+
margin: 0px auto;
53+
width: 70ex;
4954
}
5055

51-
div.issue-marker a {
52-
color: red;
56+
#default-fragment-shader:before {
57+
content: "Default fragment shader";
5358
}
54-
55-
.issue.resolved, .issue.stale, .issue.moved {
56-
display: none;
59+
60+
#default-vertex-shader:before {
61+
content: "Default vertex shader";
5762
}
5863
</style>
59-
<link rel="stylesheet" type="text/css"
64+
65+
<link rel="stylesheet" type="text/css"
6066
href="http://www.w3.org/StyleSheets/TR/W3C-ED.css">
6167

6268
<link id="st" href="alternate-spec-style.css" rel="stylesheet"

css3-regions/alternate-spec-style.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,17 @@ table.values-desc td:first-child {
358358

359359
img[alt='W3C'] {
360360
display: none;
361-
}
361+
}
362+
363+
364+
365+
.issue-marker {
366+
position: absolute;
367+
width: 20ex;
368+
margin-left: -22ex;
369+
text-align: right;
370+
}
371+
372+
.issue-marker a {
373+
color: #c00;
374+
}

0 commit comments

Comments
 (0)