Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adicionando estilização inicial do mkdocs #2

Merged
merged 13 commits into from
Aug 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM python:3.6

RUN pip3 install mkdocs
# Installing dependencies
RUN pip3 install mkdocs==1.0.4
RUN pip3 install mkdocs-material
RUN pip3 install Pygments
RUN pip3 install pymdown-extensions
RUN pip3 install mkdocs-awesome-pages-plugin

# Copy docs to container
COPY ./ docs/
WORKDIR ./docs/

Expand Down
139 changes: 139 additions & 0 deletions docs/assets/css/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

h1,h2,h3,h4,h5,h6 {
font-family: 'Poppins', sans-serif;
}

.md-logo img {
width: 30px !important;
border-radius: 50%;
/* border: 1px solid #000000; */
}

.md-typeset__table {
width: 100%;
display: flex;
/* align-self: center; */
align-items: center;
justify-content: center;
}

.md-typeset__table table {
border-radius: 20px !important;
box-shadow: 0 0 5px #F5A851 !important;
}

td, th {
background: white;
}

p, h2 {
text-align: justify
}
p {
text-indent: 30px;
}

li p {
text-indent: 0;
}

h4 {
font-weight: 500 !important;
color: rgba(0,0,0,0.7);
}

body {
color: rgba(0, 0, 0, 1);
font-family: "Poppins", sans-serif;
}

.md-header {
background: linear-gradient(90deg, #c06a08, #891F09);
color: white !important;
}

.md-tabs {
background: linear-gradient(90deg, #c06a08, #891F09);
color: white !important;
}

.hoverable {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
transition: all 0.25s ease-out;
}


.hoverable:hover {
box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12) !important;
cursor: move;
}

::placeholder {
color: white !important;
}

.md-container {
background: white;
}

.md-typeset table thead tr {
background: linear-gradient(90deg, #c06a08, #891F09);
color: white;
}


.md-typeset table thead th {
background-color: transparent !important;
color: white;
}

img[role="presentation"] {
background: white;
}

figcaption {
text-align: center;
}

tr:nth-child(even) {
background-color: rgb(212, 30, 30);
}

th {
font-weight: bold;
}

.md-typeset__table table tbody tr {
flex-direction: row;
justify-content: center;
align-items: center;
}

.md-typeset__scrollwrap {
display: flex;
align-items: center;
justify-content: center;
}

.md-typeset__table {
width: auto;
}

.md-logo img {
border-radius: 50%;
/* border: 1px solid #000000; */
}

.release-video {
display: flex;
width: 100%;
height: 20rem;
border: 0;
}

.md-typeset__scrollwrap {
display: flex;
justify-content: center;
padding: 0 !important;
}
200 changes: 200 additions & 0 deletions docs/assets/css/landing-page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

body {
background-color: #efefef;
margin: 0;
}

.container {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
z-index: 10;
}

.section {
display: flex;
flex-direction: column;
text-align: center;
width: 75vw;
padding-top: 5em;
padding-bottom: 5em;
}

.presentation {
width: 50%;
align-self: center;
font-size: 2.5em;
font-weight: bold;
text-shadow: #c06a08 0 0 5px;
color: #891F09;
}

.buttons-container {
display: flex;
justify-content: space-around;
}

.section2 {
display: flex;
justify-content:space-around;
flex-direction: column;
width: 75vw;
padding-top: 5em;
padding-bottom: 5em;
color: #891F09;
}

.link-handler {
display: block;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-decoration: none;
color: #891F09;
}

.card {
background-color: #efefef;
width: 20em;
height: 20em;
cursor: pointer;
border-radius: 20px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
transition: all 0.3s;
border: 3px solid #891F09;
}

.card:hover {
box-shadow: 0 15px 20px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
transform: translate(0, -10px);
}

.imgs {
width: 5em;
margin-bottom: 2em;
}

h2 {
margin: 0;
width: auto;
text-align: center;
}

h1 {
text-align: center;
margin-bottom: 4em;
}

.round-card {
border-radius: 20px;
width: 12em;
height: 12em;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
position: relative;
transition: all 0.3s;
margin-left: 2em;
margin-right: 2em;
margin-bottom: 4em;
border: 3px solid #891F09;
color: #891F09;
}

.member-photo {
height: 100%;
display: block;
}

.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: #1f1f1f99;
text-decoration: underline;
}

.round-card:hover .overlay {
opacity: 1;
}

.round-card:hover {
transform: translate(0, -10px);
box-shadow: 0 15px 20px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.line {
margin-top: 0;
width: 0px;
border: 2px solid #891F09;
transition: all 0.5s;
}

.round-card:hover .line {
width: 100%;
}

.text {
color: #efefef;
font-size: 18px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
text-align: center;
transition: all 1s;
font-weight: bold;
}

.pictures {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

.landing-section {
width: 100%;
height: 90vh;
background-image: linear-gradient(to bottom right, #F5A851, #891F09 );
margin: 0;
margin-bottom: 3em;
display: flex;
justify-content: center;
align-items: center;
}

.logo {
width: 25vw;
position: fixed;
z-index: 0;
opacity: 1;
}

.footer {
height: 20vh;
background-image: linear-gradient(to bottom right, #891F09, #755727);
}

p {
font-family: 'Poppins', sans-serif;
}

div {
font-family: 'Poppins', sans-serif;
}

h1, h2, h3 {
font-family: 'Poppins', sans-serif;
}
Binary file added docs/assets/img/abner.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/brenda.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/daniel.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/img/doc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/eduarda.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/emily.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/assets/img/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/herick.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/italo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/logo-dagua-transparente.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/logo-dagua.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/logo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/lucas.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/sergio.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/img/tiago.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/assets/js/extra.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$('.md-content img')
.wrap('<span style="display:inline-block; left: -30px;" class="hoverable"></span>')
.css('display', 'block')
.parent()
.zoom();
2 changes: 2 additions & 0 deletions docs/assets/js/jquery.min.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/assets/js/jquery.zoom.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions docs/assets/js/landing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
let landing = document.getElementsByClassName('landing-section')

console.log($(window))

// landing.item.

$(landing).scroll(function() {
console.log(window.scrollTop())
// landing.css("opacity", 1 - $(window).scrollTop() / 100);
});
Loading