Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoleoncio committed May 6, 2024
1 parent 86968c8 commit 1ef7a83
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
46 changes: 46 additions & 0 deletions bin/rtl.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* W3.CSS RTL
* right-to-left languages support for W3.CSS framework
* Hamid Samak
* https://github.com/hamidsamak/w3css-rtl
*/

body {
direction: rtl;
}

.w3-closebtn {
float: left;
}

.w3-col,
.w3-half,
.w3-third,
.w3-twothird,
.w3-threequarter,
.w3-quarter {
float: right;
}

ul.w3-ul li {
padding: 6px 16px 6px 2px;
}

.w3-table th:first-child,
.w3-table td:first-child,
.w3-table-all th:first-child,
.w3-table-all td:first-child {
padding-left: 8px;
padding-right: 16px;
}

.w3-table td,
.w3-table th,
.w3-table-all td,
.w3-table-all th {
text-align: right;
}

.w3-navbar li {
float: right;
}
6 changes: 6 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
$gitCommit .= shell_exec("git log -1 --pretty=format:'%h - %s (%ci)' --abbrev-commit");
$gitBranch = "Branch: ";
$gitBranch .= shell_exec("git rev-parse --abbrev-ref HEAD");

//Lista idiomas RTL
$rtl = ['he', 'skr-arab'];
?>

<!DOCTYPE html>
Expand All @@ -121,6 +124,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bin/w3.css">
<?php if (in_array($lang, $rtl): ?>
<link rel="stylesheet" href="bin/rtl.css">
<?php endif; ?>
<link href='https://tools-static.wmflabs.org/fontcdn/css?family=Roboto' rel='stylesheet' type='text/css'>
</head>
<body style="font-family: 'Roboto', sans-serif;">
Expand Down

0 comments on commit 1ef7a83

Please sign in to comment.