Project

General

Profile

Feature #43700 » 0005-Replace-physical-CSS-properties-with-logical-ones-in.patch

wiki_syntax.css - Go MAEDA, 2026-01-21 11:50

View differences:

app/assets/stylesheets/wiki_syntax.css
39 39
h1 { font-family: var(--fonts-main); font-size: 0.875rem; text-align: center; color: var(--oc-gray-8); }
40 40
body { font-family: var(--fonts-main); font-size: 0.75rem; color: var(--oc-gray-8); }
41 41
pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; }
42
table th { padding-top: 1em; }
42
table th { padding-block-start: 1em; }
43 43
table th img {
44 44
  border: 1px solid var(--oc-gray-5);
45 45
  opacity: 0.7;
......
47 47
table th .syntax-pre {
48 48
  display: inline-block;
49 49
  border: 1px solid var(--oc-gray-5);
50
  width: 18px;
51
  height: 18px;
50
  inline-size: 18px;
51
  block-size: 18px;
52 52
}
53 53
table th .syntax-pre:before {
54 54
  content: "pre";
55 55
  font-size: 0.625rem;
56 56
  color: var(--oc-gray-7);
57 57
}
58
table td { background-color: var(--oc-gray-0); height: 2em; vertical-align: middle;}
58
table td { background-color: var(--oc-gray-0); block-size: 2em; vertical-align: middle;}
59 59
table td code { font-size: 1.2em; }
60
table td h1 { font-size: 1.8em; text-align: left; }
61
table td h2 { font-size: 1.4em; text-align: left; }
62
table td h3 { font-size: 1.2em; text-align: left; }
60
table td h1 { font-size: 1.8em; text-align: start; }
61
table td h2 { font-size: 1.4em; text-align: start; }
62
table td h3 { font-size: 1.2em; text-align: start; }
63 63

  
64 64
table.sample { border-collapse: collapse; border-spacing: 0; margin: 4px; }
65
table.sample th, table.sample td { border: solid 1px var(--oc-gray-5); padding: 4px; height: 1em; }
65
table.sample th, table.sample td { border: solid 1px var(--oc-gray-5); padding: 4px; block-size: 1em; }
66 66

  
67 67
a, a:link, a:visited{ color: var(--oc-blue-9); text-decoration: none; }
68 68
a:hover, a:active{ color: var(--oc-red-9); text-decoration: underline;}
(5-5/6)