mirror of
https://github.com/AlexBSoft/win95.css.git
synced 2024-08-16 11:10:31 +03:00
😺 huge update
+ Personal page template + Cloud background + Winamp (webamp) Fixed checkboxes Fixed forms Fixed fixes
This commit is contained in:
parent
800a605f48
commit
b365614c49
20
README.md
20
README.md
@ -7,11 +7,14 @@
|
||||
# Win95.CSS
|
||||
|
||||
Make your bootstrap look like Windows 95/98.
|
||||
|
||||
![](https://i.imgur.com/AgQonjb.png)
|
||||
|
||||
<p align="center">
|
||||
<a href="https://alexbsoft.github.io/win95.css/personal_page.html">
|
||||
<img src="https://i.imgur.com/vP9AzdG.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
- [Demo](https://alexbsoft.github.io/win95.css/)
|
||||
- Documentation will be soon.
|
||||
|
||||
|
||||
## Features
|
||||
@ -25,3 +28,14 @@ Make your bootstrap look like Windows 95/98.
|
||||
- Fully Responsive
|
||||
|
||||
- Bootstrap 4
|
||||
|
||||
## Some screenshots
|
||||
|
||||
![](https://i.imgur.com/AgQonjb.png)
|
||||
|
||||
### You can do like that:
|
||||
|
||||
![](https://i.imgur.com/rTDXYOE.png)
|
||||
|
||||
![](https://i.imgur.com/mea9LmK.png)
|
||||
|
||||
|
BIN
assets/Svidetel.png
Normal file
BIN
assets/Svidetel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
assets/clouds2.jpg
Normal file
BIN
assets/clouds2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
BIN
assets/macbook-mockup.png
Normal file
BIN
assets/macbook-mockup.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 437 KiB |
BIN
assets/never-gonna-give-you-up.mp3
Normal file
BIN
assets/never-gonna-give-you-up.mp3
Normal file
Binary file not shown.
@ -1,7 +1,10 @@
|
||||
/*
|
||||
|
||||
WIN95.CSS
|
||||
https://github.com/AlexBSoft/win95.css
|
||||
Author: Alex B (alex-b.me)
|
||||
|
||||
Version: 1.0.1
|
||||
|
||||
*/
|
||||
html {
|
||||
@ -15,6 +18,10 @@ body {
|
||||
color: white;
|
||||
padding-bottom: 28px;
|
||||
}
|
||||
.bg-cloud{
|
||||
background-image: url(clouds2.jpg);
|
||||
color:#212529;
|
||||
}
|
||||
|
||||
|
||||
.btn{
|
||||
@ -64,7 +71,8 @@ button:focus{
|
||||
border-color: buttonface;
|
||||
border-right-color: #424242;
|
||||
border-bottom-color: #424242;
|
||||
color:#6c757d;
|
||||
color: grey;
|
||||
text-shadow: 1px 1px #fff;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -93,6 +101,9 @@ CARDS
|
||||
padding-bottom: 1px;
|
||||
text-align: left;
|
||||
}
|
||||
.card-header.icon{
|
||||
padding-left: 4px;
|
||||
}
|
||||
.header-inactive{
|
||||
background: gray !important;
|
||||
}
|
||||
@ -216,6 +227,7 @@ FORMS
|
||||
color: #424242;
|
||||
background: #fff;
|
||||
box-shadow: -1px -1px 0 0 #828282;
|
||||
margin-top: 4px;
|
||||
padding-left:2px;
|
||||
}
|
||||
.bootstrap-select,
|
||||
@ -244,6 +256,10 @@ input[type="radio"],input[type="checkbox"] {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.form-check-label{
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
|
||||
input[type="radio"] + .form-check-label::before,
|
||||
input[type="radio"] + .form-check-label::after {
|
||||
@ -253,17 +269,18 @@ input[type="radio"] + .form-check-label::after {
|
||||
.form-check-label::before {
|
||||
height: 20px;
|
||||
width:20px;
|
||||
top: 3px;
|
||||
padding-right: 2px;
|
||||
border: 2px inset #d5d5d5;
|
||||
background: white;
|
||||
box-shadow: -1px -1px 0 0 #828282;
|
||||
|
||||
}
|
||||
|
||||
input[type="radio"] + .form-check-label::after {
|
||||
display: none;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin: 6px;
|
||||
top: 3px;
|
||||
background: black;
|
||||
}
|
||||
input[type="checkbox"] + .form-check-label::after {
|
||||
@ -272,8 +289,66 @@ input[type="checkbox"] + .form-check-label::after {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin: 4px;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
input:checked + .form-check-label::after {
|
||||
display: block;
|
||||
}
|
||||
/*
|
||||
|
||||
TABS
|
||||
|
||||
*/
|
||||
.tab-content {
|
||||
background: silver;
|
||||
border: solid;
|
||||
border-width: 2px;
|
||||
border-bottom-color: #424242;
|
||||
border-right-color: #424242;
|
||||
border-left-color: #fff;
|
||||
border-top-color: silver;
|
||||
padding: 1rem 1.4rem;
|
||||
}
|
||||
.nav-tabs {
|
||||
border-bottom: 2px solid white;
|
||||
}
|
||||
.nav-tabs .nav-item {
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
background: #c0c0c0;
|
||||
color: black;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-right: 1px solid #5A5A5A;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.nav-tabs .nav-item .nav-link {
|
||||
color: black;
|
||||
padding: .2rem 1.8rem;
|
||||
box-sizing: border-box;
|
||||
transform: none;
|
||||
}
|
||||
.nav-tabs .nav-item .nav-link.active {
|
||||
position: relative;
|
||||
background: #c0c0c0;
|
||||
}
|
||||
.nav-tabs .nav-item:not(:first-child) .nav-link.active {
|
||||
border-left: 1px solid #5A5A5A;
|
||||
}
|
||||
.nav-tabs .nav-item:first-child{
|
||||
border-left: 2px solid white;
|
||||
}
|
||||
.nav-tabs .nav-item .nav-link.active:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: -2px;
|
||||
background: #c0c0c0;
|
||||
}
|
||||
.nav-tabs .nav-link {
|
||||
border: 0;
|
||||
padding: 1rem 1rem;
|
||||
}
|
||||
|
27
index.html
27
index.html
@ -50,6 +50,31 @@
|
||||
<p class="lead">Windows 95/98 stylized Bootstrap 4 theme. Responsive. Minimalistic. Modern.</p>
|
||||
</div>
|
||||
|
||||
<div class="container" id="page-content" >
|
||||
<div class="row mb-5">
|
||||
<div class="col-md-8 text-center">
|
||||
<img src="assets/macbook-mockup.png" class="img-fluid">
|
||||
</div>
|
||||
<div class="col-md-4 my-auto">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="my-0 font-weight-normal">Check out personal page</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul class="list-unstyled mt-3 mb-4">
|
||||
<li>Portfolio/Landing template</li>
|
||||
<li>Alex's page</li>
|
||||
<li>Cloud background</li>
|
||||
<li>Winamp</li>
|
||||
<li>It is very cool</li>
|
||||
</ul>
|
||||
<a href="personal_page.html" class="btn btn-lg btn-block"><img src="assets/icons/internet_connection_wiz-5.png" class="icon-16"> Okay, go</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container" id="page-content">
|
||||
<div class="card-deck mb-3 text-center">
|
||||
<div class="card mb-4 shadow-sm">
|
||||
@ -184,7 +209,7 @@
|
||||
<div class="row" style="margin-right: 0px;">
|
||||
<div class="col-8">
|
||||
<a href="//alex-b.me" class="btn start-button"><img src="assets/icons/users-1.png" class="icon-16">Author</a>
|
||||
<a href="#" class="btn start-button"><img src="assets/icons/directory_folder_options-5.png" class="icon-16"> GitHub</a>
|
||||
<a href="https://github.com/AlexBSoft/win95.css" class="btn start-button"><img src="assets/icons/directory_folder_options-5.png" class="icon-16"> GitHub</a>
|
||||
</div>
|
||||
<div class="col-4 time">By Alex B</div>
|
||||
</div>
|
||||
|
198
personal_page.html
Normal file
198
personal_page.html
Normal file
@ -0,0 +1,198 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Personal Webpage</title>
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0" />
|
||||
<meta author="Alex B" />
|
||||
<meta property="og:image" content="assets/preview.png" />
|
||||
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="assets/win95.css">
|
||||
|
||||
|
||||
</head>
|
||||
<body class="bg-cloud">
|
||||
<nav class="navbar navbar-expand-lg navbar-light navbar-95 ">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="assets/icons/computer-3.png"> Navbar</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Features</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Pricing</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Dropdown link
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
<a class="dropdown-item" href="#">Action</a>
|
||||
<a class="dropdown-item" href="#">Another action</a>
|
||||
<a class="dropdown-item" href="#">Something else here</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
|
||||
<h1 class="display-4">Alex B's personal webpage</h1>
|
||||
<p class="lead">Who and why.</p>
|
||||
</div>
|
||||
|
||||
<div class="container" id="page-content">
|
||||
<div class="row mb-5">
|
||||
<div class="col-md-6 text-center">
|
||||
<img src="assets/Svidetel.png" class="img-fluid">
|
||||
</div>
|
||||
<div class="col-md-6 my-auto">
|
||||
<div class="card">
|
||||
<div class="card-header icon">
|
||||
<h4 class="my-0 font-weight-normal "><img src="assets/icons/note-0.png"> About me</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul class="list-unstyled mt-3 mb-4">
|
||||
<li>It is not my photo</li>
|
||||
<li>My name is Alexander</li>
|
||||
<li>I am from Russia</li>
|
||||
</ul>
|
||||
<div class="btn-group btn-block" role="group" aria-label="Basic example">
|
||||
<button type="button" class="btn btn-secondary"><img src="assets/icons/envelope_closed-1.png" class="icon-16"> Email me</button>
|
||||
<button type="button" class="btn btn-secondary"><img src="assets/icons/globe_map-4.png" class="icon-16"> Find me IRL</button>
|
||||
<button type="button" class="btn btn-secondary">Win95.CSS</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container" id="page-content">
|
||||
<div class="row mb-5">
|
||||
<div class="col-md-6 my-auto">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<h4 class="my-0 font-weight-normal ">Classic cloud background</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul class="list-unstyled mt-3 mb-4">
|
||||
<li>Yeah thats cool</li>
|
||||
<li>Like in Windows 98</li>
|
||||
<li>Welcome to 90s</li>
|
||||
<li>Made with <a href="https://github.com/AlexBSoft/win95.css">Win95.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4 class="my-0 font-weight-normal ">I have winamp on my site</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<ul class="list-unstyled mt-3 mb-4">
|
||||
<li>Rick Astley included</li>
|
||||
<li>You can play your own tracks</li>
|
||||
<li>More info <a href="https://github.com/captbaritone/webamp">here</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 text-center">
|
||||
<div id="app" style="min-height: 400px">
|
||||
<!-- Webamp will attempt to center itself within this div -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<h4 class="my-0 font-weight-normal">Send me e-mail</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form>
|
||||
<div class="form-group row">
|
||||
<label for="inputEmail3" class="col-sm-2 col-form-label"><img src="assets/icons/envelope_closed-1.png" class="icon-16-4"> Your e-mail:</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="email" class="form-95" id="inputEmail3">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="inputPassword3" class="col-sm-2 col-form-label"><img src="assets/icons/user_world-0.png" class="icon-16-4"> Your name:</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="password" class="form-95" id="inputPassword3">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlTextarea1">Message content:</label>
|
||||
<textarea class="form-95" id="exampleFormControlTextarea1" rows="3"></textarea>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-3">Check it you are spamer</div>
|
||||
<div class="col-sm-9">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="gridCheck1">
|
||||
<label class="form-check-label" for="gridCheck1">
|
||||
Yes, I am spamer
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">Send this email.</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center mb-4">
|
||||
<img src="assets/logo.png" >
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<footer class="taskbar">
|
||||
<div class="row" style="margin-right: 0px;">
|
||||
<div class="col-8">
|
||||
<a href="//alex-b.me" class="btn start-button"><img src="assets/icons/users-1.png" class="icon-16">Author</a>
|
||||
<a href="https://github.com/AlexBSoft/win95.css" class="btn start-button"><img src="assets/icons/directory_folder_options-5.png" class="icon-16"> GitHub</a>
|
||||
</div>
|
||||
<div class="col-4 time">By Alex B</div>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
<script src="https://unpkg.com/webamp@1.4.0/built/webamp.bundle.min.js"></script>
|
||||
<script>
|
||||
const Webamp = window.Webamp;
|
||||
new Webamp({
|
||||
initialTracks: [{
|
||||
metaData: {
|
||||
artist: "Rick Astley",
|
||||
title: "Never Gonna Give You Up"
|
||||
},
|
||||
url: "assets/never-gonna-give-you-up.mp3",
|
||||
duration: 213
|
||||
}],
|
||||
}).renderWhenReady(document.getElementById('app'));
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user