use w3.css for primary styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
65
index.html
65
index.html
@@ -5,72 +5,27 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>tronnet - client</title>
|
||||
<link rel="icon" href="images/favicon.svg" sizes="any" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="css/button.css" type="text/css">
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<script src="scripts/index.js" type="module"></script>
|
||||
<script src="scripts/instance.js" type="module"></script>
|
||||
<style>
|
||||
@media screen and (min-width: 1000px) {
|
||||
#instance-container {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto auto auto 1fr auto;
|
||||
column-gap: 2.5em;
|
||||
align-items: center;
|
||||
}
|
||||
#instance-container-header * {
|
||||
margin-top: 0px;
|
||||
}
|
||||
instance-obj {
|
||||
display: contents;
|
||||
}
|
||||
instance-obj:after, instance-obj:first-of-type:before {
|
||||
content: " ";
|
||||
border-bottom: 1px solid var(--content-txt-color);
|
||||
grid-column: 1 / span 8;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1000px) {
|
||||
#instance-container {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto 1fr auto;
|
||||
column-gap: 2.5em;
|
||||
align-items: center;
|
||||
}
|
||||
#instance-container {
|
||||
margin: 0px;
|
||||
}
|
||||
#instance-container-header * {
|
||||
display: none;
|
||||
}
|
||||
instance-obj {
|
||||
display: contents;
|
||||
}
|
||||
instance-obj:after, instance-obj:first-of-type:before {
|
||||
content: " ";
|
||||
border-bottom: 1px solid var(--content-txt-color);
|
||||
grid-column: 1 / span 8;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>tronnet</h1>
|
||||
<hr>
|
||||
<nav id="nav">
|
||||
<a href="index.html" aria-current="true">Instances</a>
|
||||
<a href="account.html">Account</a>
|
||||
<a href="login.html">Logout</a>
|
||||
<header class="w3-black w3-bar">
|
||||
<nav class="w3-large w3-bar" id="nav">
|
||||
<h1 class="w3-bar-item" style="font-size: 18px; margin: 0px; background-color: #0f0; color: #000;">tronnet</h1>
|
||||
<a class="w3-bar-item w3-button" href="index.html" aria-current="true">Instances</a>
|
||||
<a class="w3-bar-item w3-button" href="account.html">Account</a>
|
||||
<a class="w3-bar-item w3-button" href="login.html">Logout</a>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<h2>Instances</h2><hr>
|
||||
<main class="w3-container">
|
||||
<h2>Instances</h2>
|
||||
<div id="instance-container">
|
||||
</div>
|
||||
<div class="center-div" style="text-align: center;">
|
||||
<img id="instance-add" src="images/actions/instance/add-instance.svg" class="clickable" alt="Create New Instance" title="Create New Instance">
|
||||
</div>
|
||||
</main>
|
||||
<footer><p>© tronnet</p></footer>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user