-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
203 lines (194 loc) · 10.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="https://ripenos.github.io/Ripenos/Assets/General/ripenOs.png" type="image/x-icon">
<link rel="stylesheet" href="ripen.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/atom-one-dark.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<style>
* {box-sizing: border-box; padding: 0; margin: 0;}
.sidebar {
width: calc(100% - 85%);
position: fixed;
height: calc( 100% - 1.75rem);
overflow: auto; z-index: 3;
padding: 1rem;
margin: 1rem;
}
.sidebar a {
display: block;
text-decoration: none;
margin-top: 1rem;
font-size: 1.1rem;
font-weight: 600;
overflow: hidden;
}
.sidebar p {
color: rgb(255, 227, 168);
font-weight: 800;
margin: 1rem;
margin-left: 0;
margin-right: 0;
font-size: 1.25rem;
font-family:Verdana, Geneva, Tahoma, sans-serif;
}
.sidebar p:first-child{margin-top: 0;}
@media screen and (max-width: 700px) {
.sidebar {
margin-top: -10px;
width: 95%;
height: auto;
position: fixed;
}
#bgChanger{display: none;}
.sidebar a {float: left;}
}
@media screen and (max-width: 400px) {
.sidebar {display: none;}
}
</style>
<title>RGOS | Ripen framework</title>
</head>
<body>
<!-- Side bar -->
<div class="sidebar surface">
<p>Welcome</p>
<a href="#Intro" class="button3">Intro</a>
<a href="#install" class="button3">Installation</a>
<p>Components</p>
<a href="#Basic" class="button3">Basic</a>
<a href="#Input" class="button3">Input</a>
<a href="#Media" class="button3">Media</a>
<a href="#Extra" class="button3">Extra</a>
</div>
<!-- Content - MAIN -->
<main class="sideBarActive">
<div id="Intro">
<h1 class="title">RGOS FRAMEWORK</h1>
<h3 style="margin-top: -0.75rem;">Ripen.css, an initiative of the <a href="https://ripenos.github.io/">RGOS</a></h3>
<p class="surface">
<font color="orange">RGOS Framework</font> is a CSS framework for building web-based applications that have a similar look and feel to the Ripen OS operating system. It is open source and MIT licensed.
<br>
The RGOS Framework includes a number of pre-built components, such as buttons, menus, and dialog boxes. It also includes a number of utility classes that can be used to style elements in a consistent way.
</p>
</div>
<div id="install">
<h1>Installation</h1>
<div class="surface">
<p>
To use the Ripen OS Framework, you need to import the CSS files into your project. You can then use the pre-built components and utility classes to style your elements.
</p>
<h3>The following options would guide you to use the framework:</h3>
<div>
<ol style="padding-left: 30px; margin-top: 0;">
<li><b>Option 1: </b> For locally storing and accessing the desired framework module, please head to: <a href="https://github.com/ripenos/ripen.css/releases">The Releases</a>.</li>
<li><b>Option 2: </b> For a more reliable import of the desired framework module without local storage, copy-paste any of the below code in your HTML:
<ul style="padding-left: 10px; padding-top: 10px;">
<b><li>ripen.css:</li></b>
<pre><code><link rel="stylesheet" href="https://raw.githubusercontent.com/ripenos/ripen.css/main/ripen.css"></code></pre>
<b><li>ripen.min.css:</li></b>
<pre><code><link rel="stylesheet" href="https://raw.githubusercontent.com/ripenos/ripen.css/main/ripen.min.css"></code></pre>
</ul>
</li>
</ol>
</div>
</div>
</div>
<h1>Components</h1>
<div class="surface" id="Basic">
<h2 class="subHeader">Basic</h2>
<div class="">
<h1 class="title">Heading 1 with Title Class</h1>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h2 class="subHeader">Heading 2 with Sub-header Class</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<a href="#">Link 1</a> | <a href="#">Link 2</a> | <a href="#">Link 3</a>
<br><br>
<p>Paragraph - Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus, dignissimos doloribus laudantium consectetur enim repellat! Ipsam facere commodi corporis ut deleniti earum? Nihil ducimus ex amet nobis, minus asperiores sit.</p>
</div>
</div>
<div class="surface" id="Input">
<h2 class="subHeader">Inputs</h2>
<h2>1. Button</h2>
<div style="padding-left: 15px;">
<button style="display: inline-block; margin: 5px;">button type 1</button>
<pre><code><button> button type 1 </button></code></pre>
<button class="button2" style="display: inline-block; margin: 5px;">button type 2</button>
<pre><code><button class="button2"> button type 2 </button></code></pre>
<button class="button3" style="display: inline-block; margin: 5px;">button type 3</button>
<pre><code><button class="button3"> button type 3 </button></code></pre>
</div>
<h2>2. Textbox</h2>
<div style="padding-left: 15px;">
<input type="text" placeholder="textbox" class="textInput" value="Textbox type 1">
<pre><code><input type="text" placeholder="textbox" class="textInput"></code></pre>
<input type="text" placeholder="textbox" class="textInput block" value="Textbox type 2">
<pre><code><input type="text" placeholder="textbox" class="textInput block"></code></pre>
<input type="text" placeholder="textbox" class="textInput expand" value="Textbox type 3">
<pre><code><input type="text" placeholder="textbox" class="textInput expand"></code></pre>
</div>
<h2>3. Sliders</h2>
<div style="padding-left: 15px;">
<input type="range" min="1" max="100" value="0" class="slider">
<pre><code><input type="range" min="1" max="100" value="0" class="slider"></code></pre>
<input type="range" min="1" max="100" value="0" class="slider2">
<pre><code><input type="range" min="1" max="100" value="0" class="slider2"></code></pre>
</div>
<h2>4. Extra</h2>
<div style="padding-left: 15px;">
<h3>a. File Upload</h3>
<input type="file" name="fileUpload" id="Primary" class="FileInsert">
<pre><code><input type="file" name="fileUpload" class="FileInsert"></code></pre>
<h3>b. switches</h3>
<label class="switch">
<input type="checkbox">
<span class="sliderChecBox"></span>
</label>
<pre><code><label class="switch">
<input type="checkbox">
<span class="sliderChecBox"></span>
</label></code></pre>
<label class="switch">
<input type="checkbox" checked>
<span class="sliderChecBox round"></span>
</label>
<pre><code><label class="switch">
<input type="checkbox">
<span class="sliderChecBox round"></span>
</label></code></pre>
</div>
</div>
<div id="Media">
<div class="surface">
<h2 class="subHeader">Media</h2>
<br>
<img src="https://raw.githubusercontent.com/ripenos/ripenos.github.io/main/Ripenos/Assets/General/ripenOs.jpg" alt="ripenlogo" width="150px" style="margin-right: 10px;">
<pre><code><img src="https://raw.githubusercontent.com/......./ripenOs.jpg"> </code></pre>
<span class="imgHover"><img src="https://raw.githubusercontent.com/ripenos/ripenos.github.io/main/Ripenos/Assets/General/ripenOs.jpg" alt="ripenlogo" width="150px" ></span>
<pre><code><span class="imgHover"><img src="https://raw.githubusercontent.com/......./ripenOs.jpg"> </span></code></pre>
</div>
</div>
<div id="Extra">
<div class="surface">
<h2 class="subHeader">Extra</h2>
<br>
<hr>
<pre><code><hr></code></pre>
<br>
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> <pre><code><iframe src="https://example.com" frameborder="0"></iframe></code></pre>
</div>
</div>
<br>
<div class="surface">
<h3>MIT license | Copyright (c) 2022 RipenOS</h3>
</div>
</main>
</body>
</html>