Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve display on mobile phones #30

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 21 additions & 13 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<style>
.semantictable {background-color: #FFFFAA; padding:0.5em;}
.ruletable {background-color: #DDDDFF; padding:0.5em;}
.othertable {background-color: #FDFDFD; padding:0.5em;}
.othertable {background-color: #FDFDFD; padding:0.2em;}
.tabletitle {font-size: small; font-weight: bolder;}

.technote {
Expand All @@ -52,34 +52,34 @@
}

.technote::before {
content: "Technical Note";
display: block;
content: "Technical Note";
display: block;
width: 150px;
margin: -1.5em 0 0.5em 0;
font-weight: bold;
font-weight: bold;
border: 1px solid #cff6d9;
background: #eff;
padding: 3px 1em;
}


.changenote {
font-size:small;
font-size: small;
margin: 1em 0em 0em;
padding: 1em;
padding: 1em;
border: 2px solid #cff6d9;
background: #ffddfe;
}

.changenote::before {
content: "Change Note";
display: block;
content: "Change Note";
display: block;
width: 150px;
margin: -1.5em 0 0.5em 0;
font-weight: bold;
font-weight: bold;
border: 1px solid #cff6d9;
background: #ffddef;
padding: 3px 1em;
padding: 3px 1em;
}


Expand All @@ -92,10 +92,18 @@
border: 1px solid black
}

table { border-collapse:collapse; }
table, td, th { border:1px solid black; }
table { border-collapse: collapse; }
table, td, th { border: 1px solid black; }
caption { font-weight: bold; text-align: left ; }
code {color: #ff4500;} /* Old W3C Style */
code { color: #ff4500; } /* Old W3C Style */
table { word-break: normal; overflow-wrap: anywhere !important; }
table tr td:first-child { overflow-wrap: break-word; }
@media (max-width: 550px) {
table th, table td { font-size: 14px; padding: 3px 4px;}
table td.semantictable, table td.ruletable { font-size: 14px;}
.othertable {padding: 4px;}
img {max-width: 85vw;}
}
</style>
</head>
<body>
Expand Down
Loading