Improved styling of tutorial and generated music playlist display.
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="./assets/css/prism.css" />
|
||||
<link rel="stylesheet" href="./assets/css/main.css" />
|
||||
<script src="./assets/js/prism.js" defer></script>
|
||||
<script src="./assets/js/audioshowkit.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script src="./assets/js/audioshowkit.js"></script>
|
||||
<div>
|
||||
<h1>Creating a Music Player</h1>
|
||||
<p>One of the most basic principles behind AudioShowKit is the {@link MusicPlayer}. The song player acts as an easy way for developers to set up a list of songs with simple generated controls while exposing more complex events if needed.</p>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="./assets/css/prism.css" />
|
||||
<link rel="stylesheet" href="./assets/css/main.css" />
|
||||
<script src="./assets/js/prism.js" defer></script>
|
||||
<script src="./assets/js/audioshowkit.js"></script>
|
||||
</head>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" href="./assets/css/prism.css" />
|
||||
<link rel="stylesheet" href="./assets/css/main.css" />
|
||||
<script src="./assets/js/prism.js" defer></script>
|
||||
<script src="./assets/js/audioshowkit.js"></script>
|
||||
</head>
|
||||
|
14
tutorials/assets/css/main.css
Normal file
14
tutorials/assets/css/main.css
Normal file
@@ -0,0 +1,14 @@
|
||||
@import url("./prism.css");
|
||||
|
||||
.result {
|
||||
background-repeat: repeat;
|
||||
background-image: url("../textures/45degree_fabric.webp");
|
||||
padding: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 2.5rem;
|
||||
border-radius: 5px;
|
||||
box-shadow: inset;
|
||||
}
|
BIN
tutorials/assets/textures/45degree_fabric.webp
Normal file
BIN
tutorials/assets/textures/45degree_fabric.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
Reference in New Issue
Block a user