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

Feedback #1

Open
wants to merge 44 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
08283f7
loolo
Nispeon Sep 25, 2020
97936ea
add all
Nispeon Sep 25, 2020
2b9bd53
allo
Nispeon Sep 25, 2020
5092c38
burger
Nispeon Sep 25, 2020
b894d65
save day 1
Nispeon Sep 25, 2020
6b65d2c
Delete backup.txt
Nispeon Sep 25, 2020
2a39a9a
change bg
Nispeon Sep 26, 2020
108b8b8
Merge branch 'master' of github.com:Nisouc/Sondages into master
Nispeon Sep 26, 2020
cd5aa6a
fuck up ?
Nispeon Sep 26, 2020
acec23e
fix colors
Nispeon Sep 26, 2020
356873e
correct head
Nispeon Sep 26, 2020
bb5d181
arrangement
Nispeon Sep 26, 2020
fb5ba06
save day 2
Nispeon Sep 26, 2020
3e9cbb2
rearranged files
Nispeon Sep 27, 2020
c416df1
before:scoreboard
Nispeon Sep 27, 2020
fd2d6e9
scoreboard arranged
Nispeon Sep 27, 2020
04c9e91
colored sb
Nispeon Sep 27, 2020
10fed08
big save
Nispeon Sep 27, 2020
dc405df
answers added
Nispeon Sep 27, 2020
92899cd
save
Nispeon Sep 27, 2020
035c33d
done ?
Nispeon Sep 27, 2020
03d7e50
save
Nispeon Sep 27, 2020
a7a3723
Setting up GitHub Classroom Feedback
pgrimaud Sep 28, 2020
57ae83c
Update GitHub Classroom Feedback
AlexisSensei Sep 28, 2020
93e657b
Setting up GitHub Classroom Feedback
AlexisSensei Sep 28, 2020
54cec7d
transfer
Nispeon Sep 28, 2020
a14c3bf
fixed nav
Nispeon Sep 30, 2020
1941f9f
add layouts
Nispeon Oct 2, 2020
c9923ce
Merge branch 'master' of github.com:IIM-Creative-Technology/html-css-…
Nispeon Oct 2, 2020
042b36a
rework for js
Nispeon Oct 2, 2020
74b6a45
osekour
Nispeon Oct 3, 2020
8beab54
foreach added
Nispeon Oct 3, 2020
c6f5f84
checkpoint
Nispeon Oct 3, 2020
378663c
ca marche un peu
Nispeon Oct 4, 2020
2f43eed
ca marche plus
Nispeon Oct 4, 2020
1fc6e80
ca remarche
Nispeon Oct 4, 2020
afa01a9
setAdmin is done avec des methodes porcinet
Nispeon Oct 4, 2020
8fbea87
ca marche bien
Nispeon Oct 4, 2020
aeb85e6
popup added
Nispeon Oct 6, 2020
46ac610
added readme
Nispeon Oct 6, 2020
c41a61f
popup added
Nispeon Oct 6, 2020
28772d9
retour au bon commit a noter
Nispeon Oct 8, 2020
2c4fd5d
Update readme.md
Nispeon Oct 8, 2020
ce10e07
Update readme.md
Nispeon Oct 8, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/settings.json
@@ -0,0 +1 @@
123,125
11 changes: 11 additions & 0 deletions css/style.css
@@ -0,0 +1,11 @@

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap');


@import "styleAccueil.css";
@import "stylePoll.css";
@import "styleNav.css";
@import "styleResults.css";
@import "styleScrollbar.css";


84 changes: 84 additions & 0 deletions css/styleAccueil.css
@@ -0,0 +1,84 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.accueilBody {
display: flex;
min-height: 100vH;
background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}


.indexMain {

width: 100%;
}

.category {
width: 60%;
margin: 5% 0 2% 30%;
display: flex;
flex-direction: column;
align-items: center;
}

.tag {
height: 10vH;
background-color: #2f3136;
width: 100%;
display: flex;
align-items: center;
padding: 0 0 0 10%;
}
.tag h1 {

color: white;
font-family: 'Ubuntu', sans-serif;
}

.taglist {


width: 90%;
border: 1px #36393f solid;
border-top: none;
}
.taglist a {
text-decoration: none;
color: #18191c;
}

.pollList {
height: 10vH;
background-color: white;
display: flex;
align-items: center;
padding-left: 5%;
padding-right: 5%;
font-family: 'Ubuntu', sans-serif;
border: solid 1px lightgray;
border-bottom: none;
transition: all .2s ease-in-out;
cursor: pointer;
}

.pollList:hover {
transform: scale(1.2);
background-color: #cacaca;
}



@media screen and (max-width: 660px) {

.category {
width: 75%;
margin: 5% 0 2% auto;
}

.category h2 {
font-size: 1em;
}
}
139 changes: 139 additions & 0 deletions css/styleNav.css
@@ -0,0 +1,139 @@
header {
width: 20%;
background-color: #2f3136;
min-height: 100vH;
height: 100vH;
position: fixed;
transition: 0.5s;
z-index: 15;
}

#hidden {
left: -10%;
}

#shown {
left: 0%;
}

nav {
display: flex;
flex-direction: column;
flex-wrap: wrap;
width: 100%;
align-items: center;
height: 100%;
}

nav div {
display: flex;
width: 100%;
transition: 0.5s;
}

nav > div:not(:last-child):hover {
background-color: #292b30;
}


nav div div{
width: 50%;
margin: 15% 0;
display: flex;
justify-content: center;
align-items: center;
}


nav > div:last-child {
margin-top: auto;

}

nav div div a {
text-decoration: none;
color: white;
font-family: 'Ubuntu', sans-serif;
font-size: larger;
}



nav div div a:last-child {
display: contents;
}


.openNav {
font-size: 2em;
cursor: pointer;
color: white;
}

header img {
width: 80%;
}

header img:last-child {
width: 50%;
}

header form {
width: 100%;
justify-content: center;
align-items: center;
display: flex;
}


header input {
width: 80%;
margin: auto;
border-radius: 5px;
background-color: #72767d;
border: none;
color: white;
padding: 2px;
}


header input::placeholder {
color: white;
padding: 2px;
}


@media screen and (max-width: 991px) {

header {
width: 30%;
}

#hidden {
left: -15%;
}

#shown {
left: 0%;
}
}

@media screen and (max-width: 660px) {

header {
width: 50%;
}

#hidden {
left: -25%;
}

#shown {
left: 0%;
}

nav div div a {
font-size: large;
}

}
138 changes: 138 additions & 0 deletions css/stylePoll.css
@@ -0,0 +1,138 @@
.pollBody {
display: flex;
min-height: 100vH;
background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}

.pollBody main {
width: 100%;
}

.pollVote {
width: 70%;
margin: 20px auto 20px 20%;
height: 50vH;
flex-direction: column;
display: flex;
font-family: 'Ubuntu', sans-serif;
}

.pollVote a {
text-decoration: none;
color: #2f3136;
}

.pollTitle {
background-color: #2f3136;
height: 10vH;
align-items: center;
display: flex;
padding-left: 5%;
color: white
}

.pollChoices {
height: 40vH;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin-top: 2%;
}

.pollChoices.oneColumn {
height: 40vH;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
}

.pollChoices.oneColumn a:nth-child(odd) {
transform-origin: center;
}

.pollChoices.oneColumn a:nth-child(even) {
transform-origin: center;
}

.pollVote a {
border: 1px black solid;
width: 48%;
height: 20vH;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s;
color: white
/* background-image: linear-gradient(to top, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%, #efeeec 75%, #e9e9e7 100%); */

}

.pollVote a:hover {
transform: scale(1.2);
position: relative;
z-index: 10;
}

.pollVote h2 {
text-align: center;
width: 100%;
}

.pollChoices a:nth-child(odd) {
transform-origin: right;
}

.pollChoices a:nth-child(even) {
transform-origin: left;
}

.pollChoices a:nth-child(1n) {
background-color: #74b9ff;
}

.pollChoices a:nth-child(1n):hover {
background-color: #3498db;
}

.pollChoices a:nth-child(2n) {
background-color: #ff7675;
}
.pollChoices a:nth-child(2n):hover {
background-color: #e74c3c;
}

.pollChoices a:nth-child(3n) {
background-color: #55efc4;
}

.pollChoices a:nth-child(3n):hover {
background-color: #2ecc71;
}

.pollChoices a:nth-child(4n) {
background-color: #ffeaa7;
}

.pollChoices a:nth-child(4n):hover {
background-color: #f1c40f;
}

@media screen and (max-width: 660px) {

.pollVote {
width: 75%;
margin: 5% 0 2% auto;
}

.pollChoices a {
background-color: white;
}

.pollTitle h1 {
font-size: 1em;
}
}